woocommerce_update_option_(type) action-hook . WC 1.0
Deprecated from version 2.4.0 - doesn't allow manipulation of values!. It is no longer supported and can be removed in future releases. It is recommended to replace this hook with the same one.╳
Deprecated: 2.4.0 - doesn't allow manipulation of values!
Fire an action when a certain 'type' of field is being saved.
Usage
add_action( 'woocommerce_update_option_(type)', 'action_function_name_9669' ); function action_function_name_9669( $option ){ // action... }
- $option
- -
Changelog
Deprecated Since 2.4.0 | - doesn't allow manipulation of values! |
Where the hook is called
woocommerce_update_option_(type)
woocommerce/includes/admin/class-wc-admin-settings.php 813
do_action( 'woocommerce_update_option_' . sanitize_title( $option['type'] ), $option );