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.

Top ↑

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 );


Top ↑

Changelog

Changelog
Version Description
6.0.3 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.