woocommerce_update_non_option_setting, array( id => zone_postcodes

woocommerce_update_non_option_setting, array( id => zone_postcodes

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_postcodes') is found 1 times:

  • /includes/class-wc-ajax.php line 3637
    			 * Notifies that a non-option setting has been updated.
    			 *
    			 * @since 7.8.0
    			 */
    			do_action( 'woocommerce_update_non_option_setting', array( 'id' => 'zone_postcodes' ) );
    			$zone->clear_locations( 'postcode' );
    			$postcodes = array_filter( array_map( 'strtoupper', array_map( 'wc_clean', explode( "\n", $changes['zone_postcodes'] ) ) ) );
    			foreach ( $postcodes as $postcode ) {
    				$zone->add_location( $postcode, 'postcode' );
    			}
    		}