PHP Class MC4WP_Admin_Tools

Datei anzeigen Open project: dannyvankooten/mailchimp-for-wordpress Class Usage Examples

Public Methods

Method Description
get_plugin_page ( ) : string
get_required_capability ( ) : string Get required capability to access settings page and view dashboard widgets.
is_user_authorized ( ) : boolean Does the logged-in user have the required capability?
on_plugin_page ( string $page = null ) : boolean

Method Details

get_plugin_page() public method

public get_plugin_page ( ) : string
return string

get_required_capability() public method

Get required capability to access settings page and view dashboard widgets.
public get_required_capability ( ) : string
return string

is_user_authorized() public method

Does the logged-in user have the required capability?
public is_user_authorized ( ) : boolean
return boolean

on_plugin_page() public method

public on_plugin_page ( string $page = null ) : boolean
$page string
return boolean