PHP Class MC4WP_Admin_Tools

Afficher le fichier Open project: dannyvankooten/mailchimp-for-wordpress Class Usage Examples

Méthodes publiques

Méthode 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 méthode

public get_plugin_page ( ) : string
Résultat string

get_required_capability() public méthode

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

is_user_authorized() public méthode

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

on_plugin_page() public méthode

public on_plugin_page ( string $page = null ) : boolean
$page string
Résultat boolean