Last active
July 4, 2017 13:11
-
-
Save claudioweb/544ba9aa1e4f91df78d9c8e3a8d8884a to your computer and use it in GitHub Desktop.
Trazer campos de post e de usuário
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_field('nome_do_campo',$id_post); // id do POST | |
get_field('nome_do_campo','user_'.$id_user); // id do usuário | |
get_field('nome_do_campo', 'options'); // campo registrado como opção | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment