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