WC_Admin_Settings::get_settings_pages()public staticWC 1.0

Include the settings page classes.

{} It's a method of the class: WC_Admin_Settings{}

Hooks from the method

Return

null. Nothing.

Usage

$result = WC_Admin_Settings::get_settings_pages();

Code of WC_Admin_Settings::get_settings_pages() WC 6.7.0

public static function get_settings_pages() {
	if ( empty( self::$settings ) ) {
		$settings = array();

		include_once dirname( __FILE__ ) . '/settings/class-wc-settings-page.php';

		$settings[] = include __DIR__ . '/settings/class-wc-settings-general.php';
		$settings[] = include __DIR__ . '/settings/class-wc-settings-products.php';
		$settings[] = include __DIR__ . '/settings/class-wc-settings-tax.php';
		$settings[] = include __DIR__ . '/settings/class-wc-settings-shipping.php';
		$settings[] = include __DIR__ . '/settings/class-wc-settings-payment-gateways.php';
		$settings[] = include __DIR__ . '/settings/class-wc-settings-accounts.php';
		$settings[] = include __DIR__ . '/settings/class-wc-settings-emails.php';
		$settings[] = include __DIR__ . '/settings/class-wc-settings-integrations.php';
		$settings[] = include __DIR__ . '/settings/class-wc-settings-advanced.php';

		self::$settings = apply_filters( 'woocommerce_get_settings_pages', $settings );
	}

	return self::$settings;
}