|
| 1 | +<?php |
| 2 | +declare(strict_types = 1); |
| 3 | + |
| 4 | +return [ |
| 5 | + 'email_account' => [ |
| 6 | + 'label' => 'Email Account', |
| 7 | + 'labels' => [ |
| 8 | + 'name' => 'Email Accounts', |
| 9 | + 'singular_name' => 'Email Account', |
| 10 | + 'add_new' => 'Add New Email Account', |
| 11 | + 'add_new_item' => 'Add New Email Account', |
| 12 | + 'edit_item' => 'Edit Email Account', |
| 13 | + 'new_item' => 'New Email Account', |
| 14 | + 'view_item' => 'View Email Account', |
| 15 | + 'view_items' => 'View Email Accounts', |
| 16 | + 'search_items' => 'Search Email Accounts', |
| 17 | + 'not_found' => 'No email accounts found', |
| 18 | + 'not_found_in_trash' => 'No email accounts found in Trash', |
| 19 | + 'parent_item_colon' => 'Parent Email Account:', |
| 20 | + 'all_items' => 'Email Accounts', |
| 21 | + 'archives' => 'Email Account Archives', |
| 22 | + 'attributes' => 'Email Account Attributes', |
| 23 | + 'insert_into_item' => 'Insert into email account', |
| 24 | + 'uploaded_to_this_item' => 'Uploaded to this email account', |
| 25 | + 'featured_image' => 'Featured image', |
| 26 | + 'set_featured_image' => 'Set featured image', |
| 27 | + 'remove_featured_image' => 'Remove featured image', |
| 28 | + 'use_featured_image' => 'Use as featured image', |
| 29 | + 'menu_name' => 'Email Accounts', |
| 30 | + 'filter_items_list' => 'Filter email accounts list', |
| 31 | + 'filter_by_date' => 'Filter by date', |
| 32 | + 'items_list_navigation' => 'Email Accounts list navigation', |
| 33 | + 'items_list' => 'Email Accounts list', |
| 34 | + 'item_published' => 'Email Account published.', |
| 35 | + 'item_published_privately' => 'Email Account published privately.', |
| 36 | + 'item_reverted_to_draft' => 'Email Account reverted to draft.', |
| 37 | + 'item_trashed' => 'Email Account trashed.', |
| 38 | + 'item_scheduled' => 'Email Account scheduled.', |
| 39 | + 'item_updated' => 'Email Account updated.', |
| 40 | + 'item_link' => 'Email Account Link', |
| 41 | + 'item_link_description' => 'A link to a email account.', |
| 42 | + ], |
| 43 | + 'description' => 'Email Accounts', |
| 44 | + 'public' => true, |
| 45 | + 'hierarchical' => false, |
| 46 | + 'exclude_from_search' => true, |
| 47 | + 'publicly_queryable' => false, |
| 48 | + 'show_ui' => true, |
| 49 | + 'show_in_menu' => false, |
| 50 | + 'show_in_nav_menus' => false, |
| 51 | + 'show_in_admin_bar' => false, |
| 52 | + 'show_in_rest' => true, |
| 53 | + 'menu_position' => 20, |
| 54 | + 'menu_icon' => 'dashicons-id', |
| 55 | + 'capability_type' => ['email_account', 'email_accounts'], |
| 56 | + // 'capabilities' => [], |
| 57 | + 'map_meta_cap' => true, |
| 58 | + 'supports' => ['title'], |
| 59 | + 'taxonomies' => [ |
| 60 | + ], |
| 61 | + 'has_archive' => false, |
| 62 | + 'rewrite' => [ |
| 63 | + 'with_front' => false, |
| 64 | + ], |
| 65 | + 'can_export' => true, |
| 66 | + 'delete_with_user' => false, |
| 67 | + ], |
| 68 | +]; |
0 commit comments