wpseek.com
A WordPress-centric search engine for devs and theme authors
post_search_columns › WordPress Filter Hooks
Since6.2.0
Deprecatedn/a
› apply_filters( 'post_search_columns', $search_columns, $query_vars['s'], $this )
| Parameters: (3) |
|
| Defined at: |
|
| Codex: |
Filters the columns to search in a WP_Query search.
The supported columns are `post_title`, `post_excerpt` and `post_content`. They are all included by default.Related Functions: get_search_form, get_search_link, install_search_form, wp_ajax_search_plugins, get_user_count, get_hidden_columns
Related Hooks: site_search_columns, user_search_columns, posts_search, wpmu_users_columns, manage_posts_columns