Created
July 24, 2015 13:02
-
-
Save besimhu/62db6c1f899226e1984c to your computer and use it in GitHub Desktop.
Get ACF field without using the ACF functions.
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 | |
// get post ID | |
$pid = get_the_ID(); | |
// acf field | |
$acf_field = get_post_meta( $pid, 'acf_field_slug', true ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment