PHP Класс New_Device_Notification_WPCom, vip-mu-plugins-public

Customisations for the WordPress.com platform.
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__construct ( ) New_Device_Notification_WPCom constructor.
filter_ndn_cookie_domains ( $cookie_domains ) : array Hooks the ndn_cookie_domains filter to add the WordPress.com domain
filter_ndn_location ( object $location ) : object Hooks the ndn_location filter to supply the location of the current remote address.
filter_ndn_message ( $message, $user_obj, $args )
instance ( ) : New_Device_Notification_VIP_Go Get the singleton instance of this class

Описание методов

__construct() публичный Метод

New_Device_Notification_WPCom constructor.
public __construct ( )

filter_ndn_location() публичный Метод

Hooks the ndn_location filter to supply the location of the current remote address.
public filter_ndn_location ( object $location ) : object
$location object A stdClass object, detailing a location (possibly unknown)
Результат object A stdClass object, detailing the location of the remote address

filter_ndn_message() публичный Метод

public filter_ndn_message ( $message, $user_obj, $args )

instance() публичный статический Метод

Get the singleton instance of this class
public static instance ( ) : New_Device_Notification_VIP_Go
Результат New_Device_Notification_VIP_Go