BPB Conflict Email Post Type
// Register Custom Post Type
function bpb_conflict_email_list() {
$labels = array(
'name' => _x( 'Email Addresses', 'Post Type General Name', 'berkowitz_pollack_brant' ),
'singular_name' => _x( 'Email Address', 'Post Type Singular Name', 'berkowitz_pollack_brant' ),
'menu_name' => __( 'Email Address', 'berkowitz_pollack_brant' ),
'name_admin_bar' => __( 'Email Address', 'berkowitz_pollack_brant' ),
'archives' => __( 'Email Address Archives', 'berkowitz_pollack_brant' ),
'parent_item_colon' => __( 'Parent Email Address:', 'berkowitz_pollack_brant' ),
'all_items' => __( 'All Email Address', 'berkowitz_pollack_brant' ),
'add_new_item' => __( 'Add New Email Address', 'berkowitz_pollack_brant' ),
'add_new' => __( 'Add New Email Address', 'berkowitz_pollack_brant' ),
'new_item' => __( 'New Email Address', 'berkowitz_pollack_brant' ),
'edit_item' => __( 'Edit Email Address', 'berkowitz_pollack_brant' ),
'update_item' => __( 'Update Email Address', 'berkowitz_pollack_brant' ),
'view_item' => __( 'View Email Address', 'berkowitz_pollack_brant' ),
'search_items' => __( 'Search Email Addresses', 'berkowitz_pollack_brant' ),
'not_found' => __( 'Email Address Not found', 'berkowitz_pollack_brant' ),
'not_found_in_trash' => __( 'Email Address not found in Trash', 'berkowitz_pollack_brant' ),
'featured_image' => __( 'Featured Image', 'berkowitz_pollack_brant' ),
'set_featured_image' => __( 'Set featured image', 'berkowitz_pollack_brant' ),
'remove_featured_image' => __( 'Remove featured image', 'berkowitz_pollack_brant' ),
'use_featured_image' => __( 'Use as featured image', 'berkowitz_pollack_brant' ),
'insert_into_item' => __( 'Insert into item', 'berkowitz_pollack_brant' ),
'uploaded_to_this_item' => __( 'Uploaded to this item', 'berkowitz_pollack_brant' ),
'items_list' => __( 'Email address list', 'berkowitz_pollack_brant' ),
'items_list_navigation' => __( 'Email address list navigation', 'berkowitz_pollack_brant' ),
'filter_items_list' => __( 'Filter email address list', 'berkowitz_pollack_brant' ),
);
$args = array(
'label' => __( 'Email Address', 'berkowitz_pollack_brant' ),
'description' => __( 'Conflict Email List ', 'berkowitz_pollack_brant' ),
'labels' => $labels,
'supports' => array( ),
'taxonomies' => array( 'category', 'post_tag' ),
'hierarchical' => false,
'public' => true,
'show_ui' => true,
'show_in_menu' => true,
'menu_position' => 5,
'menu_icon' => 'dashicons-id',
'show_in_admin_bar' => true,
'show_in_nav_menus' => true,
'can_export' => true,
'has_archive' => true,
'exclude_from_search' => false,
'publicly_queryable' => true,
'capability_type' => 'page',
);
register_post_type( 'bpb_conflict_email', $args );
}
add_action( 'init', 'bpb_conflict_email_list', 0 );