wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_doing_cron › WordPress Function

Da4.8.0
Deprecaton/a
wp_doing_cron ( Nessun parametro )
Ritorna:
  • (bool) True if it's a WordPress cron request, false otherwise.
Definito a:
Codex:

Determines whether the current request is a WordPress cron request.



Sorgenti

function wp_doing_cron() {
	/**
	 * Filters whether the current request is a WordPress cron request.
	 *
	 * @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 );
}