Filters whether an attachment query should include filenames or not.
Parameters
$allow_query_attachment_by_filename
bool- Whether or not to include filenames.
Source
$this->allow_query_attachment_by_filename = apply_filters( 'wp_allow_query_attachment_by_filename', false );
Changelog
Version | Description |
---|---|
6.0.3 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.