WC_Admin_Settings::get_settings_pages()

Include the settings page classes.


Description Description


Source Source

File: includes/admin/class-wc-admin-settings.php

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

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

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

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

			return self::$settings;
		}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.