Created
May 19, 2019 10:50
-
-
Save ArroWsGM/70cc3a473ad77e926e413409c8a0a0c6 to your computer and use it in GitHub Desktop.
WordPress Standard Objects Reference
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
object(WP_Post)[623] | |
public 'ID' => int 5 | |
public 'post_author' => string '1' (length=1) | |
public 'post_date' => string '2019-05-19 09:47:22' (length=19) | |
public 'post_date_gmt' => string '2019-05-19 09:47:22' (length=19) | |
public 'post_content' => string 'Post Content' (length=64) | |
public 'post_title' => string 'Post title' (length=10) | |
public 'post_excerpt' => string 'Post excerpt' (length=12) | |
public 'post_status' => string 'publish' (length=7) | |
public 'comment_status' => string 'open' (length=4) | |
public 'ping_status' => string 'open' (length=4) | |
public 'post_password' => string '' (length=0) | |
public 'post_name' => string 'post-title' (length=10) | |
public 'to_ping' => string '' (length=0) | |
public 'pinged' => string '' (length=0) | |
public 'post_modified' => string '2019-05-19 09:48:00' (length=19) | |
public 'post_modified_gmt' => string '2019-05-19 09:48:00' (length=19) | |
public 'post_content_filtered' => string '' (length=0) | |
public 'post_parent' => int 0 | |
public 'guid' => string 'http://localhost/?p=5' (length=18) | |
public 'menu_order' => int 0 | |
public 'post_type' => string 'post' (length=4) | |
public 'post_mime_type' => string '' (length=0) | |
public 'comment_count' => string '1' (length=1) | |
public 'filter' => string 'raw' (length=3) | |
object(WP_Term)[701] | |
public 'term_id' => int 2 | |
public 'name' => string 'Posts Category' (length=14) | |
public 'slug' => string 'posts-category' (length=14) | |
public 'term_group' => int 0 | |
public 'term_taxonomy_id' => int 2 | |
public 'taxonomy' => string 'category' (length=8) | |
public 'description' => string '' (length=0) | |
public 'parent' => int 0 | |
public 'count' => int 1 | |
public 'filter' => string 'raw' (length=3) | |
object(WP_Taxonomy)[461] | |
public 'name' => string 'category' (length=8) | |
public 'label' => string 'Categories' (length=10) | |
public 'labels' => | |
object(stdClass)[440] | |
public 'name' => string 'Categories' (length=10) | |
public 'singular_name' => string 'Category' (length=8) | |
public 'search_items' => string 'Search Categories' (length=17) | |
public 'popular_items' => null | |
public 'all_items' => string 'All Categories' (length=14) | |
public 'parent_item' => string 'Parent Category' (length=15) | |
public 'parent_item_colon' => string 'Parent Category:' (length=16) | |
public 'edit_item' => string 'Edit Category' (length=13) | |
public 'view_item' => string 'View Category' (length=13) | |
public 'update_item' => string 'Update Category' (length=15) | |
public 'add_new_item' => string 'Add New Category' (length=16) | |
public 'new_item_name' => string 'New Category Name' (length=17) | |
public 'separate_items_with_commas' => null | |
public 'add_or_remove_items' => null | |
public 'choose_from_most_used' => null | |
public 'not_found' => string 'No categories found.' (length=20) | |
public 'no_terms' => string 'No categories' (length=13) | |
public 'items_list_navigation' => string 'Categories list navigation' (length=26) | |
public 'items_list' => string 'Categories list' (length=15) | |
public 'most_used' => string 'Most Used' (length=9) | |
public 'back_to_items' => string '← Back to Categories' (length=25) | |
public 'menu_name' => string 'Categories' (length=10) | |
public 'name_admin_bar' => string 'category' (length=8) | |
public 'description' => string '' (length=0) | |
public 'public' => boolean true | |
public 'publicly_queryable' => boolean true | |
public 'hierarchical' => boolean true | |
public 'show_ui' => boolean true | |
public 'show_in_menu' => boolean true | |
public 'show_in_nav_menus' => boolean true | |
public 'show_tagcloud' => boolean true | |
public 'show_in_quick_edit' => boolean true | |
public 'show_admin_column' => boolean true | |
public 'meta_box_cb' => string 'post_categories_meta_box' (length=24) | |
public 'meta_box_sanitize_cb' => string 'taxonomy_meta_box_sanitize_cb_checkboxes' (length=40) | |
public 'object_type' => | |
array (size=1) | |
0 => string 'post' (length=4) | |
public 'cap' => | |
object(stdClass)[448] | |
public 'manage_terms' => string 'manage_categories' (length=17) | |
public 'edit_terms' => string 'edit_categories' (length=15) | |
public 'delete_terms' => string 'delete_categories' (length=17) | |
public 'assign_terms' => string 'assign_categories' (length=17) | |
public 'rewrite' => | |
array (size=4) | |
'with_front' => boolean true | |
'hierarchical' => boolean true | |
'ep_mask' => int 512 | |
'slug' => string 'category' (length=8) | |
public 'query_var' => string 'category_name' (length=13) | |
public 'update_count_callback' => string '' (length=0) | |
public 'show_in_rest' => boolean true | |
public 'rest_base' => string 'categories' (length=10) | |
public 'rest_controller_class' => string 'WP_REST_Terms_Controller' (length=24) | |
public '_builtin' => boolean true | |
object(WP_Comment)[701] | |
public 'comment_ID' => string '2' (length=1) | |
public 'comment_post_ID' => string '5' (length=1) | |
public 'comment_author' => string 'login' (length=3) | |
public 'comment_author_email' => string '[email protected]' (length=14) | |
public 'comment_author_url' => string '' (length=0) | |
public 'comment_author_IP' => string '192.168.1.2' (length=11) | |
public 'comment_date' => string '2019-05-19 09:49:26' (length=19) | |
public 'comment_date_gmt' => string '2019-05-19 09:49:26' (length=19) | |
public 'comment_content' => string 'Post Comment' (length=12) | |
public 'comment_karma' => string '0' (length=1) | |
public 'comment_approved' => string '1' (length=1) | |
public 'comment_agent' => string 'Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/74.0.3729.157 Safari/537.36' (length=114) | |
public 'comment_type' => string '' (length=0) | |
public 'comment_parent' => string '0' (length=1) | |
public 'user_id' => string '1' (length=1) | |
protected 'children' => null | |
protected 'populated_children' => boolean false | |
protected 'post_fields' => | |
array (size=21) | |
0 => string 'post_author' (length=11) | |
1 => string 'post_date' (length=9) | |
2 => string 'post_date_gmt' (length=13) | |
3 => string 'post_content' (length=12) | |
4 => string 'post_title' (length=10) | |
5 => string 'post_excerpt' (length=12) | |
6 => string 'post_status' (length=11) | |
7 => string 'comment_status' (length=14) | |
8 => string 'ping_status' (length=11) | |
9 => string 'post_name' (length=9) | |
10 => string 'to_ping' (length=7) | |
11 => string 'pinged' (length=6) | |
12 => string 'post_modified' (length=13) | |
13 => string 'post_modified_gmt' (length=17) | |
14 => string 'post_content_filtered' (length=21) | |
15 => string 'post_parent' (length=11) | |
16 => string 'guid' (length=4) | |
17 => string 'menu_order' (length=10) | |
18 => string 'post_type' (length=9) | |
19 => string 'post_mime_type' (length=14) | |
20 => string 'comment_count' (length=13) | |
object(WP_User)[335] | |
public 'data' => | |
object(stdClass)[356] | |
public 'ID' => string '1' (length=1) | |
public 'user_login' => string 'login' (length=3) | |
public 'user_pass' => string 'password hash' (length=34) | |
public 'user_nicename' => string 'login' (length=3) | |
public 'user_email' => string '[email protected]' (length=14) | |
public 'user_url' => string '' (length=0) | |
public 'user_registered' => string '2019-05-19 09:44:22' (length=19) | |
public 'user_activation_key' => string '' (length=0) | |
public 'user_status' => string '0' (length=1) | |
public 'display_name' => string 'login_or_other' (length=3) | |
public 'ID' => int 1 | |
public 'caps' => | |
array (size=1) | |
'administrator' => boolean true | |
public 'cap_key' => string 'wp_capabilities' (length=15) | |
public 'roles' => | |
array (size=1) | |
0 => string 'administrator' (length=13) | |
public 'allcaps' => | |
array (size=62) | |
'switch_themes' => boolean true | |
'edit_themes' => boolean true | |
'activate_plugins' => boolean true | |
'edit_plugins' => boolean true | |
'edit_users' => boolean true | |
'edit_files' => boolean true | |
'manage_options' => boolean true | |
'moderate_comments' => boolean true | |
'manage_categories' => boolean true | |
'manage_links' => boolean true | |
'upload_files' => boolean true | |
'import' => boolean true | |
'unfiltered_html' => boolean true | |
'edit_posts' => boolean true | |
'edit_others_posts' => boolean true | |
'edit_published_posts' => boolean true | |
'publish_posts' => boolean true | |
'edit_pages' => boolean true | |
'read' => boolean true | |
'level_10' => boolean true | |
'level_9' => boolean true | |
'level_8' => boolean true | |
'level_7' => boolean true | |
'level_6' => boolean true | |
'level_5' => boolean true | |
'level_4' => boolean true | |
'level_3' => boolean true | |
'level_2' => boolean true | |
'level_1' => boolean true | |
'level_0' => boolean true | |
'edit_others_pages' => boolean true | |
'edit_published_pages' => boolean true | |
'publish_pages' => boolean true | |
'delete_pages' => boolean true | |
'delete_others_pages' => boolean true | |
'delete_published_pages' => boolean true | |
'delete_posts' => boolean true | |
'delete_others_posts' => boolean true | |
'delete_published_posts' => boolean true | |
'delete_private_posts' => boolean true | |
'edit_private_posts' => boolean true | |
'read_private_posts' => boolean true | |
'delete_private_pages' => boolean true | |
'edit_private_pages' => boolean true | |
'read_private_pages' => boolean true | |
'delete_users' => boolean true | |
'create_users' => boolean true | |
'unfiltered_upload' => boolean true | |
'edit_dashboard' => boolean true | |
'update_plugins' => boolean true | |
'delete_plugins' => boolean true | |
'install_plugins' => boolean true | |
'update_themes' => boolean true | |
'install_themes' => boolean true | |
'update_core' => boolean true | |
'list_users' => boolean true | |
'remove_users' => boolean true | |
'promote_users' => boolean true | |
'edit_theme_options' => boolean true | |
'delete_themes' => boolean true | |
'export' => boolean true | |
'administrator' => boolean true | |
public 'filter' => null | |
private 'site_id' => int 1 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment