wpseek.com
WordPress开发者和主题制作者的搜索引擎



wp_allow_query_attachment_by_filename › WordPress过滤钩子

Since6.0.3
已弃用n/a
› apply_filters( 'wp_allow_query_attachment_by_filename', false )
参数:
  • () allow_query_attachment_by_filename Whether or not to include filenames.
    Required: Yes
定义在:
文档:

Filters whether an attachment query should include filenames or not.





源码

$this->allow_query_attachment_by_filename = apply_filters( 'wp_allow_query_attachment_by_filename', false );