• When the WP REST API was a plugin, we could limit the search request to certain columns using the search_column parameter. Doesn’t seem to work now that its in core.

    Any way to get that back?

Viewing 1 replies (of 1 total)
  • Moderator bcworkz

    (@bcworkz)

    Not exactly. You can achieve equivalent functionality, but you cannot change the current schema. You could create your own endpoint for such purposes. Or you could modify the resulting SQL query through the usual filters like “posts_request”, “posts_where”, “posts_clauses”, etc.

Viewing 1 replies (of 1 total)
  • The topic ‘search_columns support in the WP REST API’ is closed to new replies.