asp_before_ajax_output
Executed on the ajax search results output.
$html_results = apply_filters('asp_before_ajax_output', $html_results, $id, $results, $args);Parameters
Usage
add_filter( 'asp_before_ajax_output', 'asp_before_ajax_output_prepend', 10, 4 );
function asp_before_ajax_output_prepend( $html_results, $id, $results , $args) {
return "<p>Hi!</p>" . $html_results;
}Last updated