woocommerce_widget_field_(type) action-hook . WC 1.0
Default: run an action.
Usage
add_action( 'woocommerce_widget_field_(type)', 'action_function_name_690', 10, 4 ); function action_function_name_690( $key, $value, $setting, $instance ){ // action... }
- $key
- -
- $value
- -
- $setting
- -
- $instance
- -
Where the hook is called
woocommerce_widget_field_(type)
woocommerce/includes/abstracts/abstract-wc-widget.php 311
do_action( 'woocommerce_widget_field_' . $setting['type'], $key, $value, $setting, $instance );