wrong filter arguments order

This commit is contained in:
Risto Niinemets 2015-02-12 12:42:43 +02:00
parent 54e84cf235
commit ccba4cf6e8
1 changed files with 1 additions and 1 deletions

View File

@ -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>';