Last active
October 24, 2022 20:37
-
-
Save greenhornet79/30a57f74da2f8477cfebb458891a712c to your computer and use it in GitHub Desktop.
This file contains hidden or 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_subscribe_or_login_message', 'zeen101_custom_subscribe_content', 10, 4 ); | |
| function zeen101_custom_subscribe_content( $new_content, $message, $content, $post_id ) { | |
| $thumbnail = get_the_post_thumbnail(); | |
| return '<p>' . $content . '</p>' . $thumbnail . $message; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment