deleted_plugin, $plugin_file, $deleted

deleted_plugin, $plugin_file, $deleted

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: 7.0.3

do_action('deleted_plugin, $plugin_file, $deleted') is found 1 times:

  • /wp-admin/includes/plugin.php line 1002
    		 *
    		 * @param string $plugin_file Path to the plugin file relative to the plugins directory.
    		 * @param bool   $deleted     Whether the plugin deletion was successful.
    		 */
    		do_action( 'deleted_plugin', $plugin_file, $deleted );
    
    		if ( ! $deleted ) {
    			$errors[] = $plugin_file;
    			continue;
    		}