Automattic\WooCommerce\Admin\Settings

SettingsUIPageInterface::get_script_handlespublicWC 10.9.0

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

Method of the class: SettingsUIPageInterface{}

No Hooks.

Returns

String[].

Usage

$SettingsUIPageInterface = new SettingsUIPageInterface();
$SettingsUIPageInterface->get_script_handles( $section ): array;
$section(string) (required)
Section id. Empty string means the default section.

Changelog

Since 10.9.0 Introduced.

SettingsUIPageInterface::get_script_handles() code WC 11.0.1

public function get_script_handles( string $section ): array;