PHP Class EP_Dashboard

Sets up the dashboard page to handle ElasticPress configuration.
Afficher le fichier Open project: 10up/elasticpress Class Usage Examples

Méthodes publiques

Méthode Description
__construct ( ) Placeholder
action_admin_enqueue_scripts ( ) : void Register and Enqueue JavaScripts
action_admin_init ( ) : void Admin-init actions
action_admin_menu ( ) : void Admin menu actions
action_bad_host_notice ( ) Print out mid sync warning notice
action_mid_index_notice ( ) Print out mid sync warning notice
action_wp_ajax_ep_cancel_index ( ) Cancel index
action_wp_ajax_ep_index ( ) Continue index
action_wp_ajax_ep_toggle_module ( ) Toggle module active or inactive
dashboard_page ( ) Build dashboard page
factory ( ) : object Return a singleton instance of the current class
filter_plugin_action_links ( array $plugin_actions, string $plugin_file ) : array Output dashboard link in plugin actions
intro_or_dashboard ( ) Conditionally show dashboard or intro
intro_page ( ) Build settings page
settings_page ( ) Build settings page
setup ( ) Setup actions and filters for all things settings

Method Details

__construct() public méthode

Placeholder
Since: 1.9
public __construct ( )

action_admin_enqueue_scripts() public méthode

Registers and enqueues the necessary JavaScripts for the interface.
Since: 1.9
public action_admin_enqueue_scripts ( ) : void
Résultat void

action_admin_init() public méthode

Sets up Settings API.
Since: 1.9
public action_admin_init ( ) : void
Résultat void

action_admin_menu() public méthode

Adds options page to admin menu.
Since: 1.9
public action_admin_menu ( ) : void
Résultat void

action_bad_host_notice() public méthode

Print out mid sync warning notice
Since: 2.1

action_mid_index_notice() public méthode

Print out mid sync warning notice
Since: 2.1

action_wp_ajax_ep_cancel_index() public méthode

Cancel index
Since: 2.1

action_wp_ajax_ep_index() public méthode

Continue index
Since: 2.1

action_wp_ajax_ep_toggle_module() public méthode

Toggle module active or inactive
Since: 2.1

dashboard_page() public méthode

Build dashboard page
Since: 2.1
public dashboard_page ( )

factory() public static méthode

Return a singleton instance of the current class
Since: 2.1
public static factory ( ) : object
Résultat object

intro_or_dashboard() public méthode

Conditionally show dashboard or intro
Since: 2.1
public intro_or_dashboard ( )

intro_page() public méthode

Build settings page
Since: 2.1
public intro_page ( )

settings_page() public méthode

Build settings page
Since: 2.1
public settings_page ( )

setup() public méthode

Setup actions and filters for all things settings
Since: 2.1
public setup ( )