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 | |
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