woocommerce_form_field_args
Usage
add_filter( 'woocommerce_form_field_args', 'wp_kama_woocommerce_form_field_args_filter', 10, 3 ); /** * Function for `woocommerce_form_field_args` filter-hook. * * @param $args * @param $key * @param $value * * @return */ function wp_kama_woocommerce_form_field_args_filter( $args, $key, $value ){ // filter... return $args; }
- $args
- -
- $key
- -
- $value
- -
Where the hook is called
woocommerce/includes/wc-template-functions.php 2854
$args = apply_filters( 'woocommerce_form_field_args', $args, $key, $value );