Viewing 1 replies (of 1 total)
  • Plugin Author Oscar Gare

    (@oscargare)

    Hi Darryl,
    try this code

    foreach ($countries as $key => $value) :
    	if ( $value != apply_filters( 'wcpbc_other_countries_text', __( 'Other countries' ) ) ) :
    ?>
    	<option value="<?php echo $key?>" <?php echo selected($key, $selected_country ); ?> ><?php echo $value; ?></option>
    <?php
    	endif;
    endforeach;

    Thank you.

Viewing 1 replies (of 1 total)
  • The topic ‘Country Select Dropdown’ is closed to new replies.