Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php if ( get_field( 'field_name' ) ): ?>
- This is displayed when the field_name is TRUE or has a value.
- <?php else: // field_name returned false ?>
- This is displayed when the field is FALSE, NULL or the field does not exist.
- <?php endif; // end of if field_name logic ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement