Automattic\WooCommerce\Internal\Admin\Settings
LegacySettingsPageAdapter::get_script_handles
Get script handles that must be loaded before the settings UI app mounts.
Method of the class: LegacySettingsPageAdapter{}
No Hooks.
Returns
String[].
Usage
$LegacySettingsPageAdapter = new LegacySettingsPageAdapter(); $LegacySettingsPageAdapter->get_script_handles( $section ): array;
- $section(string) (required)
- Section id. Empty string means the default section.
LegacySettingsPageAdapter::get_script_handles() LegacySettingsPageAdapter::get script handles code WC 10.9.1
public function get_script_handles( string $section ): array {
return array();
}