jetpack_pre_deactivate_module

jetpack_pre_deactivate_module

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action
See hook in action

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

do_action('jetpack_pre_deactivate_module') is found 1 times:

  • /vendor/automattic/jetpack-status/src/class-modules.php line 499
    		 * @since 1.9.0
    		 *
    		 * @param string $module Module slug.
    		 */
    		do_action( 'jetpack_pre_deactivate_module', $module );
    
    		$active = $this->get_active();
    		$new    = array_filter( array_diff( $active, (array) $module ) );
    
    		return $this->update_active( $new );
    	}
    

See this hook used in plugins: