Skip to content

Instantly share code, notes, and snippets.

@carmoreira
Created October 28, 2020 11:33
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carmoreira/57bd1a91745ddfe9fd30f4793ff9be05 to your computer and use it in GitHub Desktop.
Save carmoreira/57bd1a91745ddfe9fd30f4793ff9be05 to your computer and use it in GitHub Desktop.
Advisor Quiz loop filter
add_filter( 'advq-suggestions-loop', 'advq_my_custom_output' );
function advq_my_custom_output( $loop ){
$html ='';
while ( $loop->have_posts() ) : $loop->the_post();
$html .= 'whatever you want';
endwhile;
return $html;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment