WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
функция не описана

WC_Settings_Products::save() public WC 1.0

Save settings and trigger the 'woocommerce_update_options_'.id action.

{} Это метод класса: WC_Settings_Products{}

Хуков нет.


null. Ничего.


$WC_Settings_Products = new WC_Settings_Products();

Код WC_Settings_Products::save() WC 6.1.1

public function save() {

	 * Product->Inventory has a setting `Out of stock visibility`.
	 * Because of this, we need to recount the terms to keep them in-sync.
	WC()->call_function( 'wc_recount_all_terms' );