Skip to content

Instantly share code, notes, and snippets.

@everaldomatias
Last active September 12, 2019 17:40
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save everaldomatias/08ef08815d1fac5ba6d1bac1877a214c to your computer and use it in GitHub Desktop.
Save everaldomatias/08ef08815d1fac5ba6d1bac1877a214c to your computer and use it in GitHub Desktop.
WordPress register_post_type labels
<?php
[
'name' => __( '', '' ),
'singular_name' => __( '', '' ),
'add_new' => __( '', '' ),
'add_new_item' => __( '', '' ),
'edit_item' => __( '', '' ),
'new_item' => __( '', '' ),
'view_item' => __( '', '' ),
'view_items' => __( '', '' ),
'search_items' => __( '', '' ),
'not_found' => __( '', '' ),
'not_found_in_trash' => __( '', '' ),
'parent_item_colon' => __( '', '' ),
'all_items' => __( '', '' ),
'archives' => __( '', '' ),
'attributes' => __( '', '' ),
'insert_into_item' => __( '', '' ),
'uploaded_to_this_item' => __( '', '' ),
'featured_image' => __( '', '' ),
'set_featured_image' => __( '', '' ),
'remove_featured_image' => __( '', '' ),
'use_featured_image' => __( '', '' ),
'menu_name' => __( '', '' ),
'filter_items_list' => __( '', '' ),
'items_list_navigation' => __( '', '' ),
'items_list' => __( '', '' ),
'name_admin_bar' => __( '', '' ),
'item_published' => __( '', '' ),
'item_published_privately' => __( '', '' ),
'item_reverted_to_draft' => __( '', '' ),
'item_scheduled' => __( '', '' ),
'item_updated' => __( '', '' )
]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment