Or, embed this snippet using GenerateWP WordPress Plugin.

Download

Clone

inner ( not public post type )

// Register Custom Post Type
function application_post_type_init() {

	$labels = array(
		'name'                => _x( 'Applications', 'Post Type General Name', 'bst-plus' ),
		'singular_name'       => _x( 'Application', 'Post Type Singular Name', 'bst-plus' ),
		'menu_name'           => __( 'Applications', 'bst-plus' ),
		'parent_item_colon'   => __( 'Parent application:', 'bst-plus' ),
		'all_items'           => __( 'All applications', 'bst-plus' ),
		'view_item'           => __( 'View application', 'bst-plus' ),
		'add_new_item'        => __( 'Add New application', 'bst-plus' ),
		'add_new'             => __( 'Add New application', 'bst-plus' ),
		'edit_item'           => __( 'Edit application', 'bst-plus' ),
		'update_item'         => __( 'Update application', 'bst-plus' ),
		'search_items'        => __( 'Search application', 'bst-plus' ),
		'not_found'           => __( 'Not found', 'bst-plus' ),
		'not_found_in_trash'  => __( 'Not found in Trash', 'bst-plus' ),
	);
	$args = array(
		'labels'              => $labels,
		'supports'            => array( 'title', 'editor', 'excerpt', 'author', 'thumbnail', 'comments', 'trackbacks', 'revisions', 'custom-fields', 'page-attributes', 'post-formats', ),
		'hierarchical'        => false,
		'public'              => false,
		'show_ui'             => true,
		'show_in_menu'        => true,
		'show_in_nav_menus'   => true,
		'show_in_admin_bar'   => true,
		'menu_position'       => 5,
		'menu_icon'           => 'dashicons-id-alt',
		'can_export'          => true,
		'has_archive'         => true,
		'exclude_from_search' => true,
		'publicly_queryable'  => false,
		'capability_type'     => 'post',
	);
	register_post_type( 'application_post_type', $args );

}

// Hook into the 'init' action
add_action( 'init', 'application_post_type_init', 0 );