woocommerce_settings_rest_api filter-hookWC 1.0

Usage

add_filter( 'woocommerce_settings_rest_api', 'wp_kama_woocommerce_settings_rest_api_filter' );

/**
 * Function for `woocommerce_settings_rest_api` filter-hook.
 * 
 * @param  $settings 
 *
 * @return 
 */
function wp_kama_woocommerce_settings_rest_api_filter( $settings ){

	// filter...
	return $settings;
}
$settings
-

Where the hook is called

WC_Settings_Advanced::get_settings_for_legacy_api_section()
woocommerce_settings_rest_api
woocommerce/includes/admin/settings/class-wc-settings-advanced.php 424
return apply_filters( 'woocommerce_settings_rest_api', $settings );

Where the hook is used in WooCommerce

Usage not found.