WP_Post_Type Object
(
    [name] => product
    [label] => Preces
    [labels] => stdClass Object
        (
            [name] => Preces
            [singular_name] => Prece
            [add_new] => Add New
            [add_new_item] => Add new product
            [edit_item] => Edit product
            [new_item] => New product
            [view_item] => View product
            [view_items] => Skatīt produktus
            [search_items] => Search products
            [not_found] => No products found
            [not_found_in_trash] => No products found in trash
            [parent_item_colon] => 
            [all_items] => Visi produkti
            [archives] => Visi produkti
            [attributes] => Post Attributes
            [insert_into_item] => Insert into product
            [uploaded_to_this_item] => Uploaded to this product
            [featured_image] => Product image
            [set_featured_image] => Set product image
            [remove_featured_image] => Remove product image
            [use_featured_image] => Use as product image
            [filter_items_list] => Filter products
            [filter_by_date] => Filter by date
            [items_list_navigation] => Products navigation
            [items_list] => Products list
            [item_published] => Post published.
            [item_published_privately] => Post published privately.
            [item_reverted_to_draft] => Post reverted to draft.
            [item_scheduled] => Post scheduled.
            [item_updated] => Post updated.
            [item_link] => Product Link
            [item_link_description] => A link to a product.
            [menu_name] => Produkti
            [edit] => Rediģēt
            [parent] => Parent product
            [name_admin_bar] => Prece
        )

    [description] => This is where you can browse products in this store.
    [public] => 1
    [hierarchical] => 
    [exclude_from_search] => 
    [publicly_queryable] => 1
    [show_ui] => 1
    [show_in_menu] => 1
    [show_in_nav_menus] => 1
    [show_in_admin_bar] => 1
    [menu_position] => 
    [menu_icon] => dashicons-archive
    [capability_type] => product
    [map_meta_cap] => 1
    [register_meta_box_cb] => 
    [taxonomies] => Array
        (
        )

    [has_archive] => shop
    [query_var] => product
    [can_export] => 1
    [delete_with_user] => 
    [template] => Array
        (
        )

    [template_lock] => 
    [_builtin] => 
    [_edit_link] => post.php?post=%d
    [cap] => stdClass Object
        (
            [edit_post] => edit_product
            [read_post] => read_product
            [delete_post] => delete_product
            [edit_posts] => edit_products
            [edit_others_posts] => edit_others_products
            [delete_posts] => delete_products
            [publish_posts] => publish_products
            [read_private_posts] => read_private_products
            [read] => read
            [delete_private_posts] => delete_private_products
            [delete_published_posts] => delete_published_products
            [delete_others_posts] => delete_others_products
            [edit_private_posts] => edit_private_products
            [edit_published_posts] => edit_published_products
            [create_posts] => edit_products
        )

    [rewrite] => Array
        (
            [slug] => /shop/%product_cat%
            [with_front] => 
            [feeds] => 1
            [pages] => 1
            [ep_mask] => 1
        )

    [show_in_rest] => 1
    [rest_base] => 
    [rest_namespace] => wp/v2
    [rest_controller_class] => 
    [rest_controller] => 
)