Automattic\WooCommerce\Admin\Settings
SettingsUIPageInterface::get_script_handles
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() SettingsUIPageInterface::get script handles code WC 11.0.1
public function get_script_handles( string $section ): array;