• Resolved kinigakos

    (@kinigakos)


    Is there a hook or something like is_search for ajax search results?

    I’ve created a function which works with is_search in the result page but i want to use it in the ajax search bar also.

Viewing 1 replies (of 1 total)
  • Hi @kinigakos!

    You can use this code to modify autocomplete search results:

    if ( defined( 'DGWT_WCAS_AJAX' ) && DGWT_WCAS_AJAX ) {
       // Do staff
    }

    Regards,
    Kris

Viewing 1 replies (of 1 total)
  • The topic ‘Is_search’ is closed to new replies.