WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru Получай пассивный доход от сайта с помощью браузерных PUSH уведомлений
функция не описана

ActionScheduler_AdminView::add_help_tabs() public WC 1.0

Provide more information about the screen and its data in the help tab.

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

Хуков нет.

Возвращает

null. Ничего.

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

$ActionScheduler_AdminView = new ActionScheduler_AdminView();
$ActionScheduler_AdminView->add_help_tabs();

Код ActionScheduler_AdminView::add_help_tabs() WC 5.3.0

<?php
public function add_help_tabs() {
	$screen = get_current_screen();

	if ( ! $screen || self::$screen_id != $screen->id ) {
		return;
	}

	$as_version = ActionScheduler_Versions::instance()->latest_version();
	$screen->add_help_tab(
		array(
			'id'      => 'action_scheduler_about',
			'title'   => __( 'About', 'woocommerce' ),
			'content' =>
				'<h2>' . sprintf( __( 'About Action Scheduler %s', 'woocommerce' ), $as_version ) . '</h2>' .
				'<p>' .
					__( 'Action Scheduler is a scalable, traceable job queue for background processing large sets of actions. Action Scheduler works by triggering an action hook to run at some time in the future. Scheduled actions can also be scheduled to run on a recurring schedule.', 'woocommerce' ) .
				'</p>',
		)
	);

	$screen->add_help_tab(
		array(
			'id'      => 'action_scheduler_columns',
			'title'   => __( 'Columns', 'woocommerce' ),
			'content' =>
				'<h2>' . __( 'Scheduled Action Columns', 'woocommerce' ) . '</h2>' .
				'<ul>' .
				sprintf( '<li><strong>%1$s</strong>: %2$s</li>', __( 'Hook', 'woocommerce' ), __( 'Name of the action hook that will be triggered.', 'woocommerce' ) ) .
				sprintf( '<li><strong>%1$s</strong>: %2$s</li>', __( 'Status', 'woocommerce' ), __( 'Action statuses are Pending, Complete, Canceled, Failed', 'woocommerce' ) ) .
				sprintf( '<li><strong>%1$s</strong>: %2$s</li>', __( 'Arguments', 'woocommerce' ), __( 'Optional data array passed to the action hook.', 'woocommerce' ) ) .
				sprintf( '<li><strong>%1$s</strong>: %2$s</li>', __( 'Group', 'woocommerce' ), __( 'Optional action group.', 'woocommerce' ) ) .
				sprintf( '<li><strong>%1$s</strong>: %2$s</li>', __( 'Recurrence', 'woocommerce' ), __( 'The action\'s schedule frequency.', 'woocommerce' ) ) .
				sprintf( '<li><strong>%1$s</strong>: %2$s</li>', __( 'Scheduled', 'woocommerce' ), __( 'The date/time the action is/was scheduled to run.', 'woocommerce' ) ) .
				sprintf( '<li><strong>%1$s</strong>: %2$s</li>', __( 'Log', 'woocommerce' ), __( 'Activity log for the action.', 'woocommerce' ) ) .
				'</ul>',
		)
	);
}