checkout->get_checkout_fields(); if ( count( $checkout ) ) : foreach ( $checkout as $field_type => $fields ) : if ( isset( Plugin::instance()->$field_type ) ) : $defaults = array_column( Plugin::instance()->$field_type->get_defaults(), 'key' ); foreach ( $fields as $key => $field ) : ?> get_meta( $key, true ); if ( $value ) : ?>