Created
October 28, 2020 11:33
-
-
Save carmoreira/57bd1a91745ddfe9fd30f4793ff9be05 to your computer and use it in GitHub Desktop.
Advisor Quiz loop filter
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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