Skip to content

Instantly share code, notes, and snippets.

@pglewis
Created October 12, 2014 23:45
Show Gist options
  • Save pglewis/8ea6e48850945f8433cd to your computer and use it in GitHub Desktop.
Save pglewis/8ea6e48850945f8433cd to your computer and use it in GitHub Desktop.
{"meta":{"version":"2.4.4","build":1413157490},"pods":{"61":{"id":61,"name":"test_cpt","label":"Test CPT","description":"","type":"post_type","storage":"meta","object":"","alias":"","fields":{"tax_relationship":{"id":64,"name":"tax_relationship","label":"tax relationship","description":"","help":"","class":"","type":"pick","weight":0,"pick_object":"taxonomy","pick_val":"test_tax","sister_id":"","required":"0","pick_format_type":"single","pick_format_single":"dropdown","pick_format_multi":"checkbox","pick_taggable":"0","pick_limit":"0","pick_allow_html":"0","pick_user_role":[],"admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"pick_select_text":"","pick_table_id":"","pick_table_index":"","pick_display":"","pick_where":"","pick_orderby":"","pick_groupby":""}},"show_in_menu":"1","label_singular":"Test CPT","public":"1","show_ui":"1","supports_title":"1","supports_editor":"1","built_in_taxonomies_test_tax":"0","publicly_queryable":"1","exclude_from_search":"0","capability_type":"post","capability_type_custom":"test_cpt","capability_type_extra":"1","has_archive":"0","hierarchical":"0","rewrite":"1","rewrite_with_front":"1","rewrite_feeds":"0","rewrite_pages":"1","query_var":"1","can_export":"1","default_status":"draft","supports_author":"0","supports_thumbnail":"0","supports_excerpt":"0","supports_trackbacks":"0","supports_custom_fields":"0","supports_comments":"0","supports_revisions":"0","supports_page_attributes":"0","supports_post_formats":"0","built_in_taxonomies_category":"0","built_in_taxonomies_link_category":"0","built_in_taxonomies_post_tag":"0","menu_position":"0","show_in_nav_menus":"1","show_in_admin_bar":"1"},"62":{"id":62,"name":"test_tax","label":"Test Tax","description":"","type":"taxonomy","storage":"table","object":"","alias":"","fields":{"text_field":{"id":63,"name":"text_field","label":"text field","description":"","help":"","class":"","type":"text","weight":0,"pick_object":"","pick_val":"","sister_id":"","required":"0","unique":"0","text_allow_shortcode":"0","text_allow_html":"0","text_allowed_html_tags":"strong em a ul ol li b i","text_max_length":"255","admin_only":"0","restrict_role":"0","restrict_capability":"0","hidden":"0","read_only":"0","roles_allowed":["administrator"],"text_repeatable":"0"}},"show_in_menu":1,"label_singular":"Test Tax","public":"1","show_ui":"1","hierarchical":"0","rewrite":"1","rewrite_with_front":"1","rewrite_hierarchical":"1","query_var":"0","sort":"0","built_in_post_types_page":"0","built_in_post_types_post":"0","built_in_post_types_test_cpt":"0","built_in_post_types_attachment":"0","menu_location":"objects","menu_position":"0","show_in_nav_menus":"1","show_tagcloud":"1","show_admin_column":"0"}},"pages":{"test-me":{"id":66,"name":"test-me","code":"<?php\r\n$params = array(\r\n\t'where' => 'tax_relationship.d.text_field != \"fred\"'\r\n);\r\n$pod = pods( 'test_cpt', $params);\r\n","type":"page","slug":"test-me","options":{"_edit_last":"1","_edit_lock":"1413157375:1","page_title":"Test","precode":"","page_template":"","pod":"0","pod_slug":"","admin_only":"","restrict_role":"","roles_allowed":"","restrict_capability":"","capability_allowed":"","restrict_redirect":"","restrict_redirect_login":"","restrict_redirect_url":""}}}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment