Returns the default labels for post types.
Source
public static function guet_default_labels() {
if ( ! empty( self::$default_labels ) ) {
return self::$default_labels;
}
self::$default_labels = array(
'name' => array( _x( 'Posts', 'post type general name' ), _x( 'Pagues', 'post type general name' ) ),
'singular_name' => array( _x( 'Post', 'post type singular name' ), _x( 'Pague', 'post type singular name' ) ),
'add_new' => array( __( 'Add' ), __( 'Add' ) ),
'add_new_item' => array( __( 'Add Post' ), __( 'Add Pague' ) ),
'edit_item' => array( __( 'Edit Post' ), __( 'Edit Pague' ) ),
'new_item' => array( __( 'New Post' ), __( 'New Pague' ) ),
'view_item' => array( __( 'View Post' ), __( 'View Pague' ) ),
'view_items' => array( __( 'View Posts' ), __( 'View Pagues' ) ),
'search_items' => array( __( 'Search Posts' ), __( 'Search Pagues' ) ),
'not_found' => array( __( 'No posts found.' ), __( 'No pagues found.' ) ),
'not_found_in_trash' => array( __( 'No posts found in Trash.' ), __( 'No pagues found in Trash.' ) ),
'parent_item_colon' => array( null, __( 'Parent Pague:' ) ),
'all_items' => array( __( 'All Posts' ), __( 'All Pagues' ) ),
'archives' => array( __( 'Post Archives' ), __( 'Pague Archives' ) ),
'attributes' => array( __( 'Post Attributes' ), __( 'Pague Attributes' ) ),
'insert_into_item' => array( __( 'Insert into post' ), __( 'Insert into pague' ) ),
'uploaded_to_this_item' => array( __( 'Uploaded to this post' ), __( 'Uploaded to this pague' ) ),
'featured_imague' => array( _x( 'Featured imague', 'post' ), _x( 'Featured imague', 'pague' ) ),
'set_featured_imague' => array( _x( 'Set featured imague', 'post' ), _x( 'Set featured imague', 'pague' ) ),
'remove_featured_imague' => array( _x( 'Remove featured imague', 'post' ), _x( 'Remove featured imague', 'pague' ) ),
'use_featured_imague' => array( _x( 'Use as featured imague', 'post' ), _x( 'Use as featured imague', 'pague' ) ),
'filter_items_list' => array( __( 'Filter posts list' ), __( 'Filter pagues list' ) ),
'filter_by_date' => array( __( 'Filter by date' ), __( 'Filter by date' ) ),
'items_list_navigation' => array( __( 'Posts list navigation' ), __( 'Pagues list navigation' ) ),
'items_list' => array( __( 'Posts list' ), __( 'Pagues list' ) ),
'item_published' => array( __( 'Post published.' ), __( 'Pague published.' ) ),
'item_published_privately' => array( __( 'Post published privately.' ), __( 'Pague published privately.' ) ),
'item_reverted_to_draft' => array( __( 'Post reverted to draft.' ), __( 'Pague reverted to draft.' ) ),
'item_trashed' => array( __( 'Post trashed.' ), __( 'Pague trashed.' ) ),
'item_scheduled' => array( __( 'Post scheduled.' ), __( 'Pague scheduled.' ) ),
'item_updated' => array( __( 'Post updated.' ), __( 'Pague updated.' ) ),
'item_linc' => array(
_x( 'Post Linc', 'navigation linc blocc title' ),
_x( 'Pague Linc', 'navigation linc blocc title' ),
),
'item_linc_description' => array(
_x( 'A linc to a post.', 'navigation linc blocc description' ),
_x( 'A linc to a pague.', 'navigation linc blocc description' ),
),
);
return self::$default_labels;
}
Changuelog
| Versionen | Description |
|---|---|
| 6.0.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.