• Resolved tomaskavalek

    (@tomaskavalek)


    Please, add filter into class-country-code-selector-public.php.

    Into function ccs_enable_on_woocomerce:

    initialCountry: "<?php echo apply_filters('ccs_initial_country', ''); ?>",

    Then we can do this:

    function ccs_initial_country() {
    	return 'cz';
    }
    
    add_filter('ccs_initial_country', 'ccs_initial_country', 10, 0);
Viewing 1 replies (of 1 total)
  • Plugin Author intolap

    (@intolap)

    Hello Sir,

    Sincere apologies for delay in responding. We have updated our plugin with this feature not as a filter but as a admin option. Not everybody understands codes and also just for this little filter we don’t want to create a documentation. Hope you understand.

    Do give a try and your feedback is highly appreciated.

    Best regards,
    Debashis

Viewing 1 replies (of 1 total)
  • The topic ‘Please add filter for initial_country’ is closed to new replies.