Action_Scheduler\Migration
Scheduler::get_schedule_interval()
Get migration batch schedule interval.
Method of the class: Scheduler{}
Hooks from the method
Return
Int
. Seconds between migration runs.
Usage
// private - for code of main (parent) class only $result = $this->get_schedule_interval();
Scheduler::get_schedule_interval() Scheduler::get schedule interval code WC 9.6.0
private function get_schedule_interval() { return (int) apply_filters( 'action_scheduler/migration_interval', 0 ); // phpcs:ignore WordPress.NamingConventions.ValidHookName.UseUnderscores }