Created
November 3, 2019 19:53
-
-
Save wp-user-manager/c038ccf873913b23c8829e03175db114 to your computer and use it in GitHub Desktop.
WP User Manager - Change the amount of comments displayed on the user profile page
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 | |
function my_wpum_get_comments_for_profile( $args ) { | |
$args['number'] = 100; | |
return $args; | |
} | |
add_filter( 'wpum_get_comments_for_profile', 'my_wpum_get_comments_for_profile' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment