woocommerce_settings_api_sanitized_fields_ . $this->id, $this->settings
woocommerce_settings_api_sanitized_fields_ . $this->id, $this->settings
Appears in: woocommerce.11.0.0
Hook Type: filter
Displaying hooks found in version: woocommerce.11.0.0apply_filters('woocommerce_settings_api_sanitized_fields_ . $this->id, $this->settings') is found 2 times:
- /includes/abstracts/abstract-wc-settings-api.php line 197
} $this->settings[ $key ] = $value; return update_option( $this->get_option_key(), apply_filters( 'woocommerce_settings_api_sanitized_fields_' . $this->id, $this->settings ), 'yes' ); } /** * Processes and saves options. * If there is an error thrown, will continue to save and validate fields, but will leave the erroring field out. *
- /includes/abstracts/abstract-wc-settings-api.php line 238
} $option_key = $this->get_option_key(); do_action( 'woocommerce_update_option', array( 'id' => $option_key ) ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment return update_option( $option_key, apply_filters( 'woocommerce_settings_api_sanitized_fields_' . $this->id, $this->settings ), 'yes' ); // phpcs:ignore WooCommerce.Commenting.CommentHooks.MissingHookComment } /** * Add an error message for display in admin on save. * * @param string $error Error message.