Automattic\WooCommerce\Admin\Settings

SettingsSectionInterface::get_script_handlespublicWC 10.9.0

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

Method of the class: SettingsSectionInterface{}

No Hooks.

Returns

String[].

Usage

$SettingsSectionInterface = new SettingsSectionInterface();
$SettingsSectionInterface->get_script_handles( $parent_page ): array;
$parent_page(WC_Settings_Page) (required)
Parent settings page.

Changelog

Since 10.9.0 Introduced.

SettingsSectionInterface::get_script_handles() code WC 11.0.1

public function get_script_handles( \WC_Settings_Page $parent_page ): array;