Created
October 30, 2015 20:13
-
-
Save danfisher85/7dbe0e008403ea6938f9 to your computer and use it in GitHub Desktop.
Change arrows for pagination (woocommerce)
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
<?php | |
add_filter( 'woocommerce_pagination_args', 'rocket_woo_pagination' ); | |
function rocket_woo_pagination( $args ) { | |
$args['prev_text'] = '<i class="fa fa-angle-left"></i>'; | |
$args['next_text'] = '<i class="fa fa-angle-right"></i>'; | |
return $args; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Is it still right for the new version?