Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
function rp4wp_change_related_post_title( $related_post_title, $related_post ) {
return substr( $related_post_title, 0, 15 );
}
add_filter( 'rp4wp_post_title', 'rp4wp_change_related_post_title', 10, 2 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment