Skip to content

Instantly share code, notes, and snippets.

@shkasjon
Forked from danfisher85/woo-pagination-arrows.php
Created December 15, 2016 00:24
Show Gist options
  • Save shkasjon/d28bec094b62fbe80b1245774a48791b to your computer and use it in GitHub Desktop.
Save shkasjon/d28bec094b62fbe80b1245774a48791b to your computer and use it in GitHub Desktop.
Change arrows for pagination (woocommerce)
<?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