WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

ActionScheduler_WPCLI_QueueRunner::__construct() public WC 1.0

ActionScheduler_WPCLI_QueueRunner constructor.

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

Хуков нет.

Возвращает

null. Ничего.

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

$ActionScheduler_WPCLI_QueueRunner = new ActionScheduler_WPCLI_QueueRunner();
$ActionScheduler_WPCLI_QueueRunner->__construct( $store, $monitor, $cleaner );
$store(ActionScheduler_Store)
-
По умолчанию: null
$monitor(ActionScheduler_FatalErrorMonitor)
-
По умолчанию: null
$cleaner(ActionScheduler_QueueCleaner)
-
По умолчанию: null

Код ActionScheduler_WPCLI_QueueRunner::__construct() WC 5.8.0

public function __construct( ActionScheduler_Store $store = null, ActionScheduler_FatalErrorMonitor $monitor = null, ActionScheduler_QueueCleaner $cleaner = null ) {
	if ( ! ( defined( 'WP_CLI' ) && WP_CLI ) ) {
		/* translators: %s php class name */
		throw new Exception( sprintf( __( 'The %s class can only be run within WP CLI.', 'woocommerce' ), __CLASS__ ) );
	}

	parent::__construct( $store, $monitor, $cleaner );
}