woocommerce_update_option_

woocommerce_update_option_

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: woocommerce.9.5.1

do_action('woocommerce_update_option_') is found 1 times:

  • /includes/admin/class-wc-admin-settings.php line 929
    				 * @deprecated 2.4.0 - doesn't allow manipulation of values!
    				 */
    				if ( has_action( 'woocommerce_update_option_' . sanitize_title( $option['type'] ) ) ) {
    					wc_deprecated_function( 'The woocommerce_update_option_X action', '2.4.0', 'woocommerce_admin_settings_sanitize_option filter' );
    					do_action( 'woocommerce_update_option_' . sanitize_title( $option['type'] ), $option );
    					continue;
    				}
    
    				/**
    				 * Sanitize the value of an option.
    				 *