action if no result ?
-
Hello to the whole team,
I have a simple function that sends me an email in case of unsuccessful search. Before I installed Relevanssi, it worked fine:
if( !is_user_logged_in && is_search() && !have_posts() ) { wp_mail($emailto, $subject, $message); }
Since installing Relevanssi, it doesn’t work anymore.
Please, I’m desperately looking for the hook (action or filter) that can allow me to do the same thing when Relevanssi doesn’t find any result?
Thanks in advance
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘action if no result ?’ is closed to new replies.