ActionScheduler_AdminView::register_system_status_tab()publicWC 1.0

Registers action-scheduler into WooCommerce > System status.

Метод класса: ActionScheduler_AdminView{}

Хуков нет.

Возвращает

Массив. $tabs An associative array of tab key => label, including Action Scheduler's tabs

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

$ActionScheduler_AdminView = new ActionScheduler_AdminView();
$ActionScheduler_AdminView->register_system_status_tab( $tabs );
$tabs(массив) (обязательный)
An associative array of tab key => label.

Код ActionScheduler_AdminView::register_system_status_tab() WC 8.7.0

public function register_system_status_tab( array $tabs ) {
	$tabs['action-scheduler'] = __( 'Scheduled Actions', 'woocommerce' );

	return $tabs;
}