1779* Filters whether the current request is a WordPress cron request.1780*1781* @since 4.8.01782*1783* @param bool$wp_doing_cron Whether the current request is a WordPress cron request.1784*/1785returnapply_filters('wp_doing_cron',defined('DOING_CRON')&&DOING_CRON);1786}17871788/**1789* Checks whether the given variable is a WordPress Error.1790*1791* Returns whether `$thing` is an instance of the `WP_Error`class.
History
Introduced in 4.8.0. Unchanged from 6.7.7 through 7.1.0.