Skip to content

Instantly share code, notes, and snippets.

Last active February 18, 2018 19:07
What would you like to do?
Unregister any WordPress taxonomy
<?php if (!defined('ABSPATH')) die('Restricted Area');
* Plugin Name: Unregister Taxonomies
* Description: Properly disable any WordPress taxonomy.
* Version: 20160901
* Author: Aurélien Denis (Neticpro)
* Author URI:
function wpc_unregister_job_listing_type() {
unregister_taxonomy('job_listing_type'); // Specify the taxonomy to unregister
add_action('init', 'wpc_unregister_job_listing_type');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment