Yoast\WP\SEO\Expiring_Store\Application
Expiring_Store::cleanup_expired
Cleans up all expired entries.
Метод класса: Expiring_Store{}
Хуков нет.
Возвращает
int. The number of deleted entries.
Использование
$Expiring_Store = new Expiring_Store(); $Expiring_Store->cleanup_expired(): int;
Код Expiring_Store::cleanup_expired() Expiring Store::cleanup expired Yoast 27.7
public function cleanup_expired(): int {
return $this->repository->delete_expired( $this->current_datetime() );
}