PHP 클래스 New_Device_Notification_WPCom, vip-mu-plugins-public

Customisations for the WordPress.com platform.
파일 보기 프로젝트 열기: Automattic/vip-mu-plugins-public 1 사용 예제들

공개 메소드들

메소드 설명
__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