Created
April 9, 2012 17:20
-
-
Save jo-snips/2344826 to your computer and use it in GitHub Desktop.
The Events Calendar: Remove Specific Custom Fields From Array
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 $fields = tribe_get_custom_fields( get_the_ID() ); ?> | |
<?php unset($fields['Name']); ?> | |
<?php foreach ($fields as $label => $value) { | |
echo $label; | |
echo $value; | |
} ?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment