Automattic\WooCommerce\Internal\RestApi\Routes\V4\Settings\Account

Controller::get_all_settingsprivateWC 1.0

Get all account settings definitions.

Method of the class: Controller{}

No Hooks.

Returns

Array. Array of setting definitions.

Usage

// private - for code of main (parent) class only
$result = $this->get_all_settings(): array;

Controller::get_all_settings() code WC 10.4.3

private function get_all_settings(): array {
	$settings_instance = $this->get_settings_account_instance();
	return $settings_instance->get_settings();
}