Since: 2.0
get_wp_object_fields
Get a list of core WP object fields for a specific object
Function Definition
public function get_wp_object_fields ( $object = 'post_type', $pod = null, $refresh = false )
Source File: /pods/classes/PodsAPI.php
Parameters
Parameter | Type | Details |
---|---|---|
$object | (string) | The post type to look for, possible values: post_type, user, comment, taxonomy |
$pod | (array) | Array of Pod data |
$refresh | (boolean) | Whether to force refresh the information |
Returns
(array) Array of fields