ActionScheduler_DataController::maybe_free_memory()public staticWC 1.0

Free memory if conditions are met.

{} Это метод класса: ActionScheduler_DataController{}

Хуков нет.

Возвращает

null. Ничего.

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

$result = ActionScheduler_DataController::maybe_free_memory( $ticks );
$ticks(int) (обязательный)
Current tick count.

Код ActionScheduler_DataController::maybe_free_memory() WC 6.9.4

public static function maybe_free_memory( $ticks ) {
	if ( self::$free_ticks && 0 === $ticks % self::$free_ticks ) {
		self::free_memory();
	}
}