A WordPress-centric search engine for devs and theme authors



wp_doing_cron ›

Since4.8.0
Deprecatedn/a
apply_filters( 'wp_doing_cron', defined( 'DOING_CRON' )
Parameters:
  • (bool) $wp_doing_cron Whether the current request is a WordPress cron request.
    Required: Yes
Defined at:
Codex:

Filters whether the current request is a WordPress cron request.





Source

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