Show Admin UI for All Taxonomies

We hide the admin interface for the taxiomies we create with data from Bullhorn.

If you need to restore the admin panel then here is the code you will need

// Replace {$key} with the name of the Taxonomy. Default taxonomies are "type", "location", and "category", the latter of which is shown automatically.

add_filter( 'matador_taxonomy_args_{$key}', function( $args ) {
   $args['show_in_menu'] = true;

   return $args;
}); 

So, to show admin UI for the “location” taxonomy:

// Show admin UI for the Matador Job Location Taxonomy
add_filter( 'matador_taxonomy_args_location', function( $args ) {
   $args['show_in_menu'] = true;

   return $args;
}); 

Put this code into your theme functions.php file or a file reference there.

Was this article helpful?
Yes 0 No 0