WordPress Hooks Explorer

Listing all hooks extracted WordPress Core


Details about wp_allow_query_attachment_by_filename

Back to home

Files

Filename Hook Type Line Number PHP Doc
wp-includes/class-wp-query.php apply_filters 1848 /**
* Filters whether an attachment query should include filenames or not.
*
* @since 6.0.3
*
* @param bool $allow_query_attachment_by_filename Whether or not to include filenames.
*/

Hook Parameters

Parameter Type Name Description
bool $allow_query_attachment_by_filename Whether or not to include filenames.