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