<?php

/**
 * Create Posttypes
 *
 * @version 1.0.0
 * @since   1.0.0
 */
$layouts_labels = array(
    'name' => esc_html__('Gallery Showcase', GSPWP_TEXTDOMAIN),
    'singular_name' => esc_html__('Gallery Showcase', GSPWP_TEXTDOMAIN),
    'menu_name' => esc_html__('Gallery Showcase', GSPWP_TEXTDOMAIN),
    'name_admin_bar' => esc_html__('Gallery Showcase', GSPWP_TEXTDOMAIN),
    'add_new' => esc_html__('Add New', GSPWP_TEXTDOMAIN),
    'add_new_item' => esc_html__('Add New Showcase', GSPWP_TEXTDOMAIN),
    'new_item' => esc_html__('New Showcase', GSPWP_TEXTDOMAIN),
    'edit_item' => esc_html__('Edit Showcase', GSPWP_TEXTDOMAIN),
    'view_item' => esc_html__('View Showcases', GSPWP_TEXTDOMAIN),
    'all_items' => esc_html__('All Showcases', GSPWP_TEXTDOMAIN),
    'search_items' => esc_html__('Search Showcase', GSPWP_TEXTDOMAIN),
    'parent_item_colon' => esc_html__('Parent Showcase', GSPWP_TEXTDOMAIN),
    'not_found' => esc_html__('No Gallery Showcase found', GSPWP_TEXTDOMAIN),
    'not_found_in_trash' => esc_html__('No Gallery Showcase found in Trash', GSPWP_TEXTDOMAIN),
);

$layouts_args = array(
    'labels' => apply_filters('gs_layouts_post_labels', $layouts_labels),
    'public' => false,
    'publicly_queryable' => false,
    'show_ui' => true,
    'query_var' => false,
    'rewrite' => false,
    'menu_icon' => apply_filters('gs_gallery_menu_icon', 'dashicons-format-gallery'),
    'capability_type' => 'post',
    'has_archive' => false,
    'hierarchical' => false,
    'supports' => apply_filters('gs_layouts_post_supports', array('title')),
);

register_post_type('gs_layouts', apply_filters('gs_layouts_args', $layouts_args));