10. Autocomplete

One of the most complicated fields and requires a post_type array field - to suggest options for the user.

But you can add your custom filter to suggested options - stm_wpcfto_autocomplete_autocom where autocom is a key of a field. You should pass an array of items like this:

If you need to limit added options you can add "limit" parameter to field

Last updated

Was this helpful?