Created
February 12, 2015 10:03
-
-
Save technoknol/c8141b101c0e38511883 to your computer and use it in GitHub Desktop.
Increase/Decrease number of comments in admin side in WordPress
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 | |
// Increase/Decrease number of comments in admin side in WordPress | |
add_filter('comments_per_page', 'increase_count', 99, 2); | |
function increase_count($no, $comment_status){ | |
return 50 ; // change this no. | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment