wrong filter arguments order
This commit is contained in:
parent
54e84cf235
commit
ccba4cf6e8
|
@ -1552,7 +1552,7 @@ if ( ! function_exists( 'woocommerce_form_field' ) ) {
|
|||
);
|
||||
|
||||
$args = wp_parse_args( $args, $defaults );
|
||||
$args = apply_filters( 'woocommerce_form_field_args', $key, $args, $value );
|
||||
$args = apply_filters( 'woocommerce_form_field_args', $args, $key, $value );
|
||||
|
||||
if ( ( ! empty( $args['clear'] ) ) ) {
|
||||
$after = '<div class="clear"></div>';
|
||||
|
|
Loading…
Reference in New Issue