COVID-19 Suppliers
if ( ! function_exists( 'covid_19_suppliers' ) ) {
// Register Custom Taxonomy
function covid_19_suppliers() {
$labels = array(
'name' => _x( 'COVID-19 Suppliers', 'Taxonomy General Name', 'tlghotels' ),
'singular_name' => _x( 'COVID-19 Supplier', 'Taxonomy Singular Name', 'tlghotels' ),
'menu_name' => __( 'COVID-19 Suppliers', 'tlghotels' ),
'all_items' => __( 'All COVID-19 Suppliers', 'tlghotels' ),
'parent_item' => __( 'Parent COVID-19 Supplier', 'tlghotels' ),
'parent_item_colon' => __( 'Parent COVID-19 Supplier:', 'tlghotels' ),
'new_item_name' => __( 'New COVID-19 Supplier Name', 'tlghotels' ),
'add_new_item' => __( 'Add New COVID-19 Supplier', 'tlghotels' ),
'edit_item' => __( 'Edit COVID-19 Supplier', 'tlghotels' ),
'update_item' => __( 'Update COVID-19 Supplier', 'tlghotels' ),
'view_item' => __( 'View COVID-19 Supplier', 'tlghotels' ),
'separate_items_with_commas' => __( 'Separate COVID-19 suppliers with commas', 'tlghotels' ),
'add_or_remove_items' => __( 'Add or remove COVID-19 suppliers', 'tlghotels' ),
'choose_from_most_used' => __( 'Choose from the most used', 'tlghotels' ),
'popular_items' => __( 'Popular COVID-19 Suppliers', 'tlghotels' ),
'search_items' => __( 'Search COVID-19 Suppliers', 'tlghotels' ),
'not_found' => __( 'Not Found', 'tlghotels' ),
'no_terms' => __( 'No COVID-19 suppliers', 'tlghotels' ),
'items_list' => __( 'COVID-19 Suppliers list', 'tlghotels' ),
'items_list_navigation' => __( 'COVID-19 Suppliers list navigation', 'tlghotels' ),
);
$args = array(
'labels' => $labels,
'hierarchical' => true,
'public' => true,
'show_ui' => true,
'show_admin_column' => true,
'show_in_nav_menus' => false,
'show_tagcloud' => false,
);
register_taxonomy( 'suppliers', array( 'covid_19_updates' ), $args );
}
add_action( 'init', 'covid_19_suppliers', 0 );
}