woocommerce_save_settings_{$current_tab}

woocommerce_save_settings_{$current_tab}

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

apply_filters('woocommerce_save_settings_{$current_tab}') is found 1 times:

  • /includes/admin/class-wc-admin-menus.php line 187
     
    		// Save settings if data has been posted.
    		if ( '' !== $current_section && apply_filters( "woocommerce_save_settings_{$current_tab}_{$current_section}", ! empty( $_POST['save'] ) ) ) { // WPCS: input var okay, CSRF ok.
    			WC_Admin_Settings::save();
    		} elseif ( '' === $current_section && apply_filters( "woocommerce_save_settings_{$current_tab}", ! empty( $_POST['save'] ) ) ) { // WPCS: input var okay, CSRF ok.
    			WC_Admin_Settings::save();
    		}
    	}
    
    	/**
    	 * Add menu item.