wp_doing_cron

wp_doing_cron

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.4.3

apply_filters('wp_doing_cron') is found 1 times:

  • /wp-includes/load.php line 1725
    	 * @since 4.8.0
    	 *
    	 * @param bool $wp_doing_cron Whether the current request is a WordPress cron request.
    	 */
    	return apply_filters( 'wp_doing_cron', defined( 'DOING_CRON' ) && DOING_CRON );
    }
    
    /**
     * Checks whether the given variable is a WordPress Error.
     *
     * Returns whether `$thing` is an instance of the `WP_Error` class.