Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
<?php
add_filter( 'leaky_paywall_profile_your_profile_end', 'zeen_lp_show_extra_profile_data' );
function zeen_lp_show_extra_profile_data( $content ) {
$comment_number = 25;
return $content . '<p>Here is some additional data. You have written ' . $comment_number . ' comments.</p>';
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment