woocommerce_update_non_option_setting, array( id => zone_locations

woocommerce_update_non_option_setting, array( id => zone_locations

Appears in:
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.11.0.0

do_action('woocommerce_update_non_option_setting, array( id => zone_locations') is found 1 times:

  • /includes/class-wc-ajax.php line 3611
    			 * Notifies that a non-option setting has been updated.
    			 *
    			 * @since 7.8.0
    			 */
    			do_action( 'woocommerce_update_non_option_setting', array( 'id' => 'zone_locations' ) );
    			$zone->clear_locations( array( 'state', 'country', 'continent' ) );
    			$locations = array_filter( array_map( 'wc_clean', (array) $changes['zone_locations'] ) );
    			foreach ( $locations as $location ) {
    				// Each posted location will be in the format type:code.
    				$location_parts = explode( ':', $location );
    				switch ( $location_parts[0] ) {