woocommerce_update_option_

woocommerce_update_option_

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

See hook in core

Displaying hooks found in version: woocommerce.9.8.1

do_action('woocommerce_update_option_') is found 1 times:

  • /includes/admin/class-wc-admin-settings.php line 947
    943
    944
    945
    946
    947
    948
    949
    950
    951
    952
    953
    * @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.
     *