install_plugins_featured
The WordPress Core install plugins featured hook.
Description
Parameters (1)
- 0. $install_dashboard (string) =>
'install_dashboard'
- The install dashboard.
Usage
- To run the hook, copy the example below.
- // run the action
- do_action( 'install_plugins_featured', $install_dashboard );
- The following example is for adding a hook callback.
- // define the install_plugins_featured callback
- function action_install_plugins_featured( $install_dashboard ) {
- // make action magic happen here...
- };
- // add the action
- add_action( 'install_plugins_featured', 'action_install_plugins_featured', 10, 1 );
- To remove a hook callback, use the example below.
- // remove the action
- remove_action( 'install_plugins_featured', 'action_install_plugins_featured', 10, 1 );
Defined (1)
The action is defined in the following location(s).
- /wp-admin/includes/admin-filters.php
- add_action( 'install_plugins_featured', 'install_dashboard' );