Created
November 3, 2016 17:22
-
-
Save greenhornet79/988b96ce1849f5392d63268449b69864 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_login_message', 10, 3 ); | |
| function zeen101_custom_login_message( $new_content, $message, $content ) { | |
| $zeen_message = '<div id="leaky_paywall_message">'; | |
| $zeen_message .= '<h2>I want to use this message instead!</h2>'; | |
| $zeen_message .= do_shortcode('[leaky_subscription_cards]'); // you can even add a shortcode or php function | |
| $zeen_message .= '</div>'; | |
| return $zeen_message; | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment