acipriani

Untitled

Apr 20th, 2021
893
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <?php if ( get_field( 'field_name' ) ): ?>
  2.  
  3. This is displayed when the field_name is TRUE or has a value.
  4.  
  5. <?php else: // field_name returned false ?>
  6.  
  7. This is displayed when the field is FALSE, NULL or the field does not exist.
  8.  
  9. <?php endif; // end of if field_name logic ?>
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×