Method | Description | |
---|---|---|
__construct ( ) | Constructor. Sets up the properties. | |
post_type ( ) : string | Returns the (first) post type of the current request. | |
queried_object_id ( ) : integer | Returns the ID of the queried object. | |
type ( ) : string | Returns the type of the current request. |
Method | Description | |
---|---|---|
is_page_for_posts ( ) : boolean | ||
is_singular ( ) : boolean | ||
is_term_archive ( ) : boolean |
public queried_object_id ( ) : integer | ||
return | integer | The ID of the queried object. |