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 all references

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


Top ↑

Changelog

Changelog
Version Description
4.8.0 Introduced.

Top ↑

User Contributed Notes

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