facetwp hook load more button on shop

djrmom

{{gist file=”custom-hooks.php” lang=”php”}}
<?php
/** use the woocommerce_after_shop_loop hook to add the load more button after.
** make sure this places the load more button outside of the facetwp-template div5
** “5” can be adjusted to hook later needed
**/

add_action( ‘woocommerce_after_shop_loop’, function() { ?>
<button class=”fwp-load-more”>Load more</button>
<?php }, 5 );
{{/gist}}