@@ 805-807 (lines=3) @@ | ||
802 | class="method wc-enhanced-select" |
|
803 | data-plugins="<?php echo wc_esc_json( wp_json_encode( $this->get_wcs_requisite_plugins() ) ); ?>" |
|
804 | > |
|
805 | <?php foreach ( $shipping_methods as $method_id => $method ) : ?> |
|
806 | <option value="<?php echo esc_attr( $method_id ); ?>" <?php selected( $selected, $method_id ); ?>><?php echo esc_html( $method['name'] ); ?></option> |
|
807 | <?php endforeach; ?> |
|
808 | </select> |
|
809 | </div> |
|
810 | <div class="shipping-method-descriptions"> |
|
@@ 811-815 (lines=5) @@ | ||
808 | </select> |
|
809 | </div> |
|
810 | <div class="shipping-method-descriptions"> |
|
811 | <?php foreach ( $shipping_methods as $method_id => $method ) : ?> |
|
812 | <p class="shipping-method-description <?php echo esc_attr( $method_id ); ?> <?php echo $method_id !== $selected ? 'hide' : ''; ?>"> |
|
813 | <?php echo esc_html( $method['description'] ); ?> |
|
814 | </p> |
|
815 | <?php endforeach; ?> |
|
816 | </div> |
|
817 | </div> |
|
818 |