wordpress - Where can I echo the search SQL for a ?s=words type search? -


i trying debug search plugin, has worked before me on sites not working(returns 0 results) on current site. if see sql being performed, better idea of whats wrong. normal search box type search of posts , pages, etc.

the sql generated in get_posts() function in wp-includes/query.php. if link doesn't take right spot, search function if ( !empty($q['s']) ).

looks posts_search filter called after block, hook dump generated sql file (if echoing doesn't work).


Comments

Popular posts from this blog

java - Play! framework 2.0: How to display multiple image? -

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -