is_singular Wordpress function


Description:

Is the query for an existing single post of any post type (post, attachment, page, ... )?


Syntax:


Arguments:

(mixed) $post_types Optional. Post Type or array of Post Types


Return Type:

(bool)


Define At:

wp-includes/query.php


Wordpress Reference URL:

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


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