Automattic\WooCommerce\Admin\Settings

SettingsUIPageInterface::get_script_handles │ public │ WC 10.9.0

Get script handles that must be loaded before the settings UI app mounts.

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

Хуков нет.

Возвращает

string[].

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

$SettingsUIPageInterface = new SettingsUIPageInterface();
$SettingsUIPageInterface->get_script_handles( $section ): array;
$section(строка) (обязательный)
Section id. Empty string means the default section.

Список изменений

С версии 10.9.0 Введена.

Код SettingsUIPageInterface::get_script_handles() WC 11.2.2

public function get_script_handles( string $section ): array;