Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Support angelo_nwl

    (@angelo_nwl)

    If you can code or have someone at hand, you’d want to hook into the WP filter called – em_get_countries – which is called in the file events-manager/em-functions.php

    Thread Starter playonmonkeys

    (@playonmonkeys)

    I tried using this code with no success

    function customcountries(){
    $em_countries_custom[‘US’] = ‘United States’;
    unset($em_countries_array);
    return $em_countries_new;
    }
    add_filter(’em_get_countries’,’customcountries’);

    Thread Starter playonmonkeys

    (@playonmonkeys)

    I am also having problem with templates not working I removed the region stuff from location.php and put it in this directory /wp-content/themes/BodyRitesv2/plugins/events-manager/templates/templates

    and it does not work any idea on how to fix this

    Looking at playonmonkeys’ post above, but being a novice, does this mean I need to download this plugin? I currently have many countries showing when a customer places an order, and I want to limit those countries. Please be extremely specific about what to do as I cannot find a plugins/events-manager in my site at present.

    Plugin Support angelo_nwl

    (@angelo_nwl)

    yes you need to download EM first ?? – https://wp-events-plugin.com/documentation/getting-started/

    Thanks for answering. My web designer got it figured out! Apparently this is the wrong plug in for my site.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Remove countries’ is closed to new replies.