wp_doing_cron

Advertisement

Summery Summery

Determines whether the current request is a WordPress cron request.

Syntax Syntax

wp_doing_cron()

Return Return

(bool) True if it's a WordPress cron request, false otherwise.

Source Source

File: wp-includes/load.php

 *
 * @since 4.7.0
 *
 * @return bool True if it's a WordPress Ajax request, false otherwise.
 */
function wp_doing_ajax() {
	/**
	 * Filters whether the current request is a WordPress Ajax request.
	 *
	 * @since 4.7.0

Advertisement

Changelog Changelog

Changelog
Version Description
4.8.0 Introduced.

Advertisement

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.