jetpack_pre_activate_module, $module, $exit, $redirect

jetpack_pre_activate_module, $module, $exit, $redirect

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: jetpack.16.0.1

do_action('jetpack_pre_activate_module, $module, $exit, $redirect') is found 1 times:

  • /jetpack_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.