deactivate_plugin, W3TC_FILE
deactivate_plugin, W3TC_FILE
Appears in: w3-total-cache.2.10.3
Hook Type: action
Displaying hooks found in version: w3-total-cache.2.10.3do_action('deactivate_plugin, W3TC_FILE') is found 1 times:
- /Util_Activation.php line 29
// workaround for WPMU deactivation bug. remove_action( 'deactivate_' . W3TC_FILE, 'deactivate_sitewide_plugin' ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound do_action( 'deactivate_plugin', W3TC_FILE ); // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound $w3tc_key = array_search( W3TC_FILE, $w3tc_active_plugins, true ); if ( false !== $w3tc_key ) { array_splice( $w3tc_active_plugins, $w3tc_key, 1 ); }