Last active
June 19, 2016 14:51
-
-
Save itshaadi/09b32ddcd2e828f5581db694e4509bd9 to your computer and use it in GitHub Desktop.
imdbi_check Example
This file contains hidden or 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 | |
if(imdbi_check('actors')){ | |
echo imdbi('actors'); | |
} | |
else{ | |
echo get_post_meta($post->ID, 'my_field_actors', true); | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment