PHP Класс Message_Board_Admin_Dashboard

Автор: Justin Tadlock ([email protected])
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
__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.

Описание методов

__construct() публичный Метод

Sets up needed actions/filters for the admin to initialize.
С версии: 1.0.0
public __construct ( ) : void
Результат void

dashboard_widgets() публичный Метод

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.
С версии: 1.0.0
public dashboard_widgets ( ) : void
Результат void

get_instance() публичный статический Метод

Returns the instance.
С версии: 1.0.0
public static get_instance ( ) : object
Результат object

load_dashboard() публичный Метод

Runs our actions only on the dashboard admin screen.
С версии: 1.0.0
public load_dashboard ( ) : void
Результат void

print_styles() публичный Метод

Enqueue the plugin admin CSS.
С версии: 1.0.0
public print_styles ( ) : void
Результат void