wp_doing_cron

wp_doing_cron

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

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('wp_doing_cron') is found 1 times:

  • /wp-includes/load.php line 1760
    1756
    1757
    1758
    1759
    1760
    1761
    1762
    1763
    1764
    1765
    1766
         * @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.