ActionScheduler_WPCommentCleaner::has_logs()
Determines if there are log entries in the wp comments table.
Uses the flag set on migration completion set by @see self::maybe_schedule_cleanup().
Method of the class: ActionScheduler_WPCommentCleaner{}
No Hooks.
Return
true|false
. Whether there are scheduled action comments in the comments table.
Usage
$result = ActionScheduler_WPCommentCleaner::has_logs();
ActionScheduler_WPCommentCleaner::has_logs() ActionScheduler WPCommentCleaner::has logs code WC 8.7.0
public static function has_logs() { return 'yes' === get_option( self::$has_logs_option_key ); }