woocommerce_settings_updated

woocommerce_settings_updated

Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.10.4.3

do_action('woocommerce_settings_updated') is found 6 times:

  • /src/Internal/RestApi/Routes/V4/Settings/Account/Controller.php line 239
    			* @param array $updated_settings Array of updated settings IDs.
    			* @param string $rest_base The REST base of the settings.
    			* @since 4.0.0
    			*/
    			do_action( 'woocommerce_settings_updated', $updated_settings, $this->rest_base );
    		}
    
    		// Get all settings after update.
    		$settings = $this->get_all_settings();
    
    		// Return updated settings.
    
  • /src/Internal/RestApi/Routes/V4/Settings/Email/Controller.php line 259
    			 * @param array $updated_settings Array of updated settings IDs.
    			 * @param string $rest_base The REST base of the settings.
    			 * @since 4.0.0
    			 */
    			do_action( 'woocommerce_settings_updated', $updated_settings, $this->rest_base );
    		}
    
    		// Get all settings after update.
    		$settings = $this->get_all_settings();
    
    		// Return updated settings.
    
  • /src/Internal/RestApi/Routes/V4/Settings/Emails/Controller.php line 280
    			 * @param array  $updated_fields Array of updated field IDs.
    			 * @param string $rest_base      The REST base of the settings.
    			 * @since 10.2.0
    			 */
    			do_action( 'woocommerce_settings_updated', $updated_fields, $this->rest_base );
    		}
    
    		try {
    			$response = $this->schema->get_item_response( $updated_email, $request );
    			return rest_ensure_response( $response );
    		} catch ( \Exception $e ) {
    
  • /src/Internal/RestApi/Routes/V4/Settings/General/Controller.php line 240
    			* @param array $updated_settings Array of updated settings IDs.
    			* @param string $rest_base The REST base of the settings.
    			* @since 4.0.0
    			*/
    			do_action( 'woocommerce_settings_updated', $updated_settings, $this->rest_base );
    		}
    
    		// Get all settings after update.
    		$settings = $this->get_all_settings();
    
    		// Return updated settings.
    
  • /src/Internal/RestApi/Routes/V4/Settings/Products/Controller.php line 217
    			* @param array $updated_settings Array of updated settings IDs.
    			* @param string $rest_base The REST base of the settings.
    			* @since 4.0.0
    			*/
    			do_action( 'woocommerce_settings_updated', $updated_settings, $this->rest_base );
    		}
    
    		// Get all settings after update.
    		$settings = $this->get_all_settings();
    
    		// Return updated settings.
    
  • /src/Internal/RestApi/Routes/V4/Settings/Tax/Controller.php line 219
    			 * @param array $updated_settings Array of updated settings IDs.
    			 * @param string $rest_base The REST base of the settings.
    			 * @since 4.0.0
    			 */
    			do_action( 'woocommerce_settings_updated', $updated_settings, $this->rest_base );
    		}
    
    		// Get all settings after update.
    		$settings = $this->get_all_settings();
    
    		// Return updated settings.