Last active
August 29, 2015 14:23
-
-
Save spraveenitpro/adc315db2e1a1af16e00 to your computer and use it in GitHub Desktop.
Change the number of Wishlists being displayed when using the [wc_wishlists_search] shortcode
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
// Change the number of Wishlists being displayed | |
add_filter( 'woocommerce_wishlist_posts_per_page', 'change_wishlist_number', 10, 1 ); | |
function change_wishlist_number( $number ){ | |
return 14; //use required number here | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment