is_attachment()
Function: Determines whether the query is for an existing attachment page.
Source: wp-includes/query.php:213
Function: Determines whether the query is for an existing attachment page.
Source: wp-includes/query.php:213
Function: Retrieves the value of a query variable in the WP_Query class.
Source: wp-includes/query.php:27
Function: Retrieves the currently queried object.
Source: wp-includes/query.php:43
Function: Retrieves the ID of the currently queried object.
Source: wp-includes/query.php:59
Function: Sets the value of a query variable in the WP_Query class.
Source: wp-includes/query.php:74
Function: Sets up The Loop with query parameters.
Source: wp-includes/query.php:97
Function: Destroys the previous query and sets up a new query.
Source: wp-includes/query.php:114