function custom_post_type() { // Set UI labels for Custom Post Type $labels = [ 'name' => _x('Deals', 'Post Type General Name', 'twentytwenty'), 'singular_name' => _x('Deal', 'Post Type Singular Name', 'twentytwenty'), 'menu_name' => __('Deals', 'twentytwenty'), 'parent_item_colon' => __('Parent Deal', 'twentytwenty'), 'all_items' => __('All Deals', 'twentytwenty'), 'view_item' => __('View Deal', 'twentytwenty'), 'add_new_item' => __('Add New Deal', 'twentytwenty'), 'add_new' => __('Add New', 'twentytwenty'), 'edit_item' => __('Edit Deal', 'twentytwenty'), 'update_item' => __('Update Deal', 'twentytwenty'), ...