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.

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.3.0

public function get_script_handles( string $section ): array;