apply_filters( 'wp_allow_query_attachment_by_filename', bool $allow_query_attachment_by_filename )
Filters whether an attachment query should include filenames or not.
Parameters
-
$allow_query_attachment_by_filename
bool -
Whether or not to include filenames.
Source
File: wp-includes/class-wp-query.php
.
View all references
$this->allow_query_attachment_by_filename = apply_filters( 'wp_allow_query_attachment_by_filename', false );
Changelog
Version | Description |
---|---|
6.0.3 | Introduced. |