Remove "sizeof"

Per new Woo template files. Add's "get_checkout_fields".
This commit is contained in:
Unknown 2018-03-22 14:05:50 -06:00 committed by zachary
parent 98570c67dd
commit 5726d56bcf
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ if ( ! $checkout->is_registration_enabled() && $checkout->is_registration_requir
<form name="checkout" method="post" class="checkout woocommerce-checkout" action="<?php echo esc_url( wc_get_checkout_url() ); ?>" enctype="multipart/form-data">
<?php if ( sizeof( $checkout->checkout_fields ) > 0 ) : ?>
<?php if ( $checkout->get_checkout_fields() ) : ?>
<?php do_action( 'woocommerce_checkout_before_customer_details' ); ?>