• Resolved Dennis Bareis

    (@dbareis)


    My code starts with something like the following which works perfectly if I publish the data, if I make it private, the code will fail (for me, my understanding is that only I should be able to see it, but it seems even I can’t).

    $PlantPod = pods('plant', pods_v( 'last', 'url' ));
    $BotanicalName = $PlantPod->field("name");
    if ($BotanicalName == "")
    echo '404';
    else
    echo 'Good plant data is accessible...';

    I don’t really know what “pods_v( 'last', 'url' ))” does since as far as I can see it is undocumented. Maybe it makes sense to a WordPress expert but it doesn’t to me. Thanks for any pointers.

Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘POD Only Works if Published (not Private)’ is closed to new replies.