get_post_field Wordpress function


Description:

Retrieve data from a post field based on Post ID.


Syntax:


Arguments:

(string) $field Post field name
(id) $post Post ID
(string) $context Optional. How to filter the field. Default is display.


Return Type:

(bool|string) False on failure or returns the value in post field


Define At:

wp-includes/post.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/get_post_field


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×