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