Skip to content

Instantly share code, notes, and snippets.

@wp-user-manager
Created November 3, 2019 19:53
Show Gist options
  • Save wp-user-manager/c038ccf873913b23c8829e03175db114 to your computer and use it in GitHub Desktop.
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
<?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