wp_doing_cron WordPress Filter Hook

The wp_doing_cron hook is called whenever the WordPress cron system is triggered. This can happen when a user visits your site, or when an automated system (such as a plugin or theme) calls the cron function.

apply_filters( 'wp_doing_cron', bool $wp_doing_cron ) #

Filters whether the current request is a WordPress cron request.


Parameters

$wp_doing_cron

(bool)Whether the current request is a WordPress cron request.


Top ↑

Source

File: wp-includes/load.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.8.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.