-
-
Save paulgibbs/c411f1d052b8f4822860 to your computer and use it in GitHub Desktop.
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 ktcb_get_achievement_description( $description ) { | |
return bp_create_excerpt( $GLOBALS['achievements_template']->achievement->description, 500 ); | |
} | |
add_filter( 'dpa_get_achievement_description', 'ktcb_get_achievement_description' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment