WordPress at Your Fingertips
function is not described

ActionScheduler_DataController::maybe_free_memory() public WC 1.0

Free memory if conditions are met.

{} It's a method of the class: ActionScheduler_DataController{}

No Hooks.

Return

null. Nothing.

Usage

$result = ActionScheduler_DataController::maybe_free_memory( $ticks );
$ticks(int) (required)
Current tick count.

Code of ActionScheduler_DataController::maybe_free_memory() WC 6.1.1

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