Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Mikko Saari

    (@msaari)

    The result is always returned, so you can just pick it up. Just set the final parameter to false to avoid the echo:

    $echo = false;
    $results = relevanssi_didyoumean( get_search_query(), '<p>Did you mean: ', '</p>', 5, $echo );
    Thread Starter maximaldesign

    (@maximaldesign)

    Thanks a lot! ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘didyoumean results stored in variable’ is closed to new replies.