wp_doing_cron
wp_doing_cron ( No parameters )
Returns:- (bool) True if it's a WordPress cron request, false otherwise.
Defined at: - Introduced in WordPress: 4.8.0
- Deprecated in WordPress: —
Description
Determines whether the current request is a WordPress cron request.