Advertisement
BakerMan

Snippet to detect if a custom field has a certain value

Oct 21st, 2013
157
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.11 KB | None | 0 0
  1. if ('Available' === tribe_get_custom_field('Translator'))
  2.     echo '<p> Yes! This event has a translator </p>';
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement