Woocommerce: Delete Countries from Dropdown Menu at Checkout
<p>I would like to delete all of the countries that are set by Woocommerce.
Can Someone tell me where I can see / modify the list of countries that are set by woocommerce? I've already looked at <code>class-c-countries.php</code> in woocommerce and I'm pretty sure that this method <code>public function get_countries()</code> gets the list of countries, but it seems like it gets them by using <code>woocommerce_countries</code> so I can't really edit it. And I can't seem to be able to access that list/file.</p>

<p>Here is the method: </p>

<pre><code> public function get_countries() {
    if ( empty( $this-&gt;countries ) ) {
        $this-&gt;countries = apply_filters( 'woocommerce_countries', include( WC()-&gt;plugin_path() . '/i18n/countries.php' ) );
        if ( apply_filters( 'woocommerce_sort_countries', true ) ) {
            asort( $this-&gt;countries );
        }
    }
    return $this-&gt;countries;
}
</code></pre>

<p>I can post the whole <code>.php</code> file if needed, please let me know.
Thanks in advance for the help!</p>

<p>I don't really know much about <code>php</code> btw.</p>