Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Change Activity Excerpt Words Length
<?php
/**
* Change Activity Excerpt Words Length
*/
function yzc_change_activity_excerpt_length() {
// By default it's : 358 Character length.
return 400;
}
add_filter( 'bp_activity_excerpt_length', 'yzc_change_activity_excerpt_length' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment