__( 'Manage Shows', 'smart-post-show' ), 'singular_name' => __( 'Show', 'smart-post-show' ), 'menu_name' => __( 'Smart Post Show', 'smart-post-show' ), 'all_items' => __( 'Manage Shows', 'smart-post-show' ), 'add_new' => __( 'Add New', 'smart-post-show' ), 'add_new_item' => __( 'Add New Show', 'smart-post-show' ), 'edit' => __( 'Edit', 'smart-post-show' ), 'edit_item' => __( 'Edit Show', 'smart-post-show' ), 'new_item' => __( 'New Show', 'smart-post-show' ), 'search_items' => __( 'Search Shows', 'smart-post-show' ), 'not_found' => __( 'No Shows found', 'smart-post-show' ), 'not_found_in_trash' => __( 'No Shows found in Trash', 'smart-post-show' ), 'parent' => __( 'Parent Show', 'smart-post-show' ), ) ); // Set the Smart post show post type arguments. $menu_icon = 'data:image/svg+xml;base64,' . base64_encode( '' ); $args = apply_filters( 'sp_post_carousel_post_type_args', array( 'label' => __( 'Manage Shows', 'smart-post-show' ), 'description' => __( 'Manage Shows', 'smart-post-show' ), 'public' => false, 'show_ui' => true, 'show_in_menu' => true, 'menu_icon' => $menu_icon, 'hierarchical' => false, 'query_var' => false, 'menu_position' => 5, 'supports' => array( 'title' ), 'capabilities' => array( 'publish_posts' => $capability, 'edit_posts' => $capability, 'edit_others_posts' => $capability, 'delete_posts' => $capability, 'delete_others_posts' => $capability, 'read_private_posts' => $capability, 'edit_post' => $capability, 'delete_post' => $capability, 'read_post' => $capability, ), 'capability_type' => 'post', // 'rewrite' => true, 'labels' => $labels, ) ); register_post_type( 'sp_post_carousel', $args ); } }