ActionScheduler_WPCommentCleaner::has_logs │ public static │ WC 1.0

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().

Метод класса: ActionScheduler_WPCommentCleaner{}

Хуков нет.

Возвращает

boolean. Whether there are scheduled action comments in the comments table.

Использование

$result = ActionScheduler_WPCommentCleaner::has_logs();

Код ActionScheduler_WPCommentCleaner::has_logs() WC 11.2.2

public static function has_logs() {
	return 'yes' === get_option( self::$has_logs_option_key );
}