When we want to get some relation field we do
$pod = pods( 'pod_name', get_the_id() );
$related = $pod->field( 'relationship_field' );
and I get list of results array 1, 2 ...
but I need to get relationship_field
where name="some_name"
. How can I do that?
The following will retrieve the related field named
relationship_field
if the related post has a title equal tosome_name
: