apply_filters( ‘wp_doing_cron’, bool $wp_doing_cron )

In this article

Filters whether the current request is a WordPress cron request.

Parameters

$wp_doing_cronbool
Whether the current request is a WordPress cron request.

Source

return apply_filters( 'wp_doing_cron', defined( 'DOING_CRON' ) && DOING_CRON );

Changelog

VersionDescription
4.8.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.