Last active
December 16, 2015 13:59
-
-
Save landru247/5445557 to your computer and use it in GitHub Desktop.
WordPress: AFC - checks if a value exists.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php $values = get_field('foo'); ?> | |
<?php if($values) { ?> | |
{markup here} | |
<?php } ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment