PHP Class Jetpack_Client_Server, jetpack

Show file Open project: automattic/jetpack Class Usage Examples

Public Methods

Method Description
authorize ( $data = [] )
check_admin_referer ( $action )
client_authorize ( ) Authorizations
deactivate_plugin ( $probable_file, $probable_title )
do_exit ( )
get_jetpack ( )
get_token ( $data ) : object | WP_Error
wp_safe_redirect ( $redirect )

Method Details

authorize() public method

public authorize ( $data = [] )

check_admin_referer() public method

public check_admin_referer ( $action )

client_authorize() public method

Authorizations
public client_authorize ( )

deactivate_plugin() public static method

public static deactivate_plugin ( $probable_file, $probable_title )

do_exit() public method

public do_exit ( )

get_jetpack() public method

public get_jetpack ( )

get_token() public method

public get_token ( $data ) : object | WP_Error
return object | WP_Error

wp_safe_redirect() public method

public wp_safe_redirect ( $redirect )