Something odd that I can’t explain, I’m currently trying to get the following simple thing to work:
$pod = pods( 'my_pod', get_the_id() ); $pod_field = $pod->field( 'pod_field' );
var_dump of $pod_field gives me NULL
var_dump of $pod does not include any of the fields in my pod.
I can get stuff out of the pod with wp_query and get_post_meta but I don’t want to use this method as I’m trying to get to data in a related pod, so what might be the problem?
I’ve tried disabling other plugins and so on.
- The topic ‘pods field outputs NULL’ is closed to new replies.