Programmatically apply search configurations

Home Forums Product Support Forums Ajax Search Pro for WordPress Support Programmatically apply search configurations

This topic contains 1 reply, has 2 voices, and was last updated by Ernest Marcinko Ernest Marcinko 3 years, 6 months ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #29798
    selinamcginnis93
    selinamcginnis93
    Participant

    Hello,

    We are looking to programmatically implement the search configuration options available in the plug-in interface. For example, how can I update the suggested phrases under the search box using code? Perhaps in the functions.php theme file.

    We checked the documentation, which gave us the way to do it through the UI and the knowledge base, which gave us programmatic ways to implement advanced features, but not the basic ones. Our main reason for doing this is to implement changes that can be part of the DevOps process using Git.

    Please let us know if this is possible, and how to do it (or where to find the documentation on it).

    Kindly,
    Selina

    #29812
    Ernest Marcinko
    Ernest Marcinko
    Keymaster

    Hi Selina,

    I balieve you are looking for the asp_suggested_phrases filter hook.

    Best,
    Ernest Marcinko

    If you like my products, don't forget to rate them on codecanyon :)


Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.