Determines whether the query is for a post or page preview.
Source
public function is_preview() {
return (bool) $this->is_preview;
}
Changelog
Version | Description |
---|---|
3.1.0 | Introduced. |
CARVIEW |
Determines whether the query is for a post or page preview.
public function is_preview() {
return (bool) $this->is_preview;
}
Used by | Description |
---|---|
is_preview()wp-includes/query.php | Determines whether the query is for a post or page preview. |
Version | Description |
---|---|
3.1.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.