wpseek.com
Outil de recherche WordPress pour les développeurs et auteurs de thèmes
get_post_field › WordPress Function
Depuis2.3.0
Dépréciéen/a
› get_post_field ( $field, $post = null, $context = 'display' )
Paramètres: (3) |
|
Voir: | |
Retourne: |
|
Défini(e) dans: |
|
Codex: | |
Changelog: |
|
Retrieves data from a post field based on Post ID.
Examples of the post field will be, 'post_type', 'post_status', 'post_content', etc and based off of the post object property or key names. The context values are based off of the taxonomy filter functions and supported values are found within those functions.