get_post_format Wordpress function


Description:

Retrieve the format slug for a post


Syntax:


Arguments:

(int|object) $post A post


Return Type:

(mixed) The format if successful. False if no format is set. WP_Error if errors.


Define At:

wp-includes/post.php


Wordpress Reference URL:

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


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