title: Can't get featured images added to custom taxonomies
body: <p>I am trying to get a featured image option added to my custom taxonomy terms. I have initially tried using ACF to add an image, but this adds an image to the post type and not to the taxonomy.</p>
  
  <p>For my second option I went through previous SO posts, but the answers are from a number of years ago and seem quite hacky.  The code below shows my current custom taxonomy setup. I added </p>
  
  <pre><code>/* custom taxonomies */
  function my_custom_events_taxonomies(){
  
      register_taxonomy(
          'events',
          'events',
          array(
              'label' =&gt; 'Events type',
              'rewrite' =&gt; array( 'slug' =&gt; 'Events'),
              'hierarchical' =&gt; false,
              'custom-fields' =&gt; true,
          )
  
      );
      }
  </code></pre>