WordPress at Your Fingertips
function is not described

WC_Settings_Shipping::get_shipping_methods() protected WC 1.0

Get the currently available shipping methods. This method exists to ease unit testing.

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

No Hooks.


Array. Currently available shipping methods.


// protected - for code of main (parent) or child class
$result = $this->get_shipping_methods();

Code of WC_Settings_Shipping::get_shipping_methods() WC 5.9.0

protected function get_shipping_methods() {
	return WC()->shipping()->get_shipping_methods();