Permalink
Browse files

filter query object before performing it

  • Loading branch information...
1 parent 4a08d00 commit 210015dc9ed204fdea4123bbff95559ca69c63f2 @matzko committed Mar 17, 2011
Showing with 2 additions and 0 deletions.
  1. +2 −0 includes/wp-lite-autosuggest.php
@@ -53,6 +53,8 @@ public function build_query( $data = array() )
public function perform_query( WP_Lite_Autosuggest_Query $qry )
{
$results = new WP_Lite_Autosuggest_Query_Results;
+
+ $qry = apply_filters( 'wpl_autosuggest_query', $qry );
}
}

0 comments on commit 210015d

Please sign in to comment.