jetpack_pre_activate_module

jetpack_pre_activate_module

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

See hook in core

Displaying hooks found in version: woocommerce.9.4.2

do_action('jetpack_pre_activate_module') is found 1 times:

  • /vendor/automattic/jetpack-status/src/class-modules.php line 393
    		 * @param string $module Module slug.
    		 * @param bool $exit Should we exit after the module has been activated. Default to true.
    		 * @param bool $redirect Should the user be redirected after module activation? Default to true.
    		 */
    		do_action( 'jetpack_pre_activate_module', $module, $exit, $redirect );
    
    		if ( ! strlen( $module ) ) {
    			return false;
    		}
    
    		// If it's already active, then don't do it again.
    

See this hook used in plugins: