Changeset 27491
- Timestamp:
- 03/10/2014 09:33:54 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-admin/includes/plugin.php
r27482 r27491 658 658 if ( ! $silent ) { 659 659 /** 660 * Fires for each plugin being deactivated in deactivate_plugins(), after deactivation 661 * and when the $silent parameter is false. 660 * Fires before a specific plugin is deactivated. 662 661 * 663 * The action concatenates the 'deactivate_' prefix with the plugin's basename 664 * to create a dynamically-named action. 662 * The dynamic portion of the hook name, $plugin. refers to the plugin basename. 663 * 664 * The hook only first when the $silent parameter is false. 665 665 * 666 666 * @since 2.0.0 … … 672 672 673 673 /** 674 * Fires for each plugin being deactivated in deactivate_plugins(), after deactivation 675 * and when the $silent parameter is false. 674 * Fires before a plugin is deactivated. 675 * 676 * The hook only fies when the $silent parameter is false. 676 677 * 677 678 * @since 2.9.0 678 679 * 679 * @param string $plugin Plugin path to main plugin file with plugin data.680 * @param string $plugin Plugin basename. 680 681 * @param bool $network_deactivating Whether the plugin is deactivated for all sites in the network 681 * or just the current site. Multisite only. Default isfalse.682 * or just the current site. Multisite only. Default false. 682 683 */ 683 684 do_action( 'deactivated_plugin', $plugin, $network_deactivating );
Note: See TracChangeset
for help on using the changeset viewer.