WordPress at Your Fingertips
function is not described

WC_Settings_Shipping::add_settings_page() public WC 1.0

Add this page to settings.

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

No Hooks.

Return

Array|Mixed.

Usage

$WC_Settings_Shipping = new WC_Settings_Shipping();
$WC_Settings_Shipping->add_settings_page( $pages );
$pages(array) (required)
Current pages.

Code of WC_Settings_Shipping::add_settings_page() WC 5.9.0

public function add_settings_page( $pages ) {
	return wc_shipping_enabled() ? parent::add_settings_page( $pages ) : $pages;
}