PHP Class Message_Board_Admin_Dashboard

Afficher le fichier Open project: justintadlock/message-board Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( ) : void Sets up needed actions/filters for the admin to initialize.
dashboard_widgets ( ) : void Adds custom dashboard widgets. Note that we're using add_meta_box() rather than the wp_add_dashboard_widget() function so that we can control the positioning.
get_instance ( ) : object Returns the instance.
load_dashboard ( ) : void Runs our actions only on the dashboard admin screen.
print_styles ( ) : void Enqueue the plugin admin CSS.

Method Details

__construct() public méthode

Sets up needed actions/filters for the admin to initialize.
Since: 1.0.0
public __construct ( ) : void
Résultat void

dashboard_widgets() public méthode

Adds custom dashboard widgets. Note that we're using add_meta_box() rather than the wp_add_dashboard_widget() function so that we can control the positioning.
Since: 1.0.0
public dashboard_widgets ( ) : void
Résultat void

get_instance() public static méthode

Returns the instance.
Since: 1.0.0
public static get_instance ( ) : object
Résultat object

load_dashboard() public méthode

Runs our actions only on the dashboard admin screen.
Since: 1.0.0
public load_dashboard ( ) : void
Résultat void

print_styles() public méthode

Enqueue the plugin admin CSS.
Since: 1.0.0
public print_styles ( ) : void
Résultat void