Created
July 24, 2019 00:07
-
-
Save LMNTL/d499e3defd730353f62c506a4ecb5fe4 to your computer and use it in GitHub Desktop.
Use a custom social login shortcode with PMPro Social Login (Requires v.3 or above)
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
//use a custom social login shortcode with PMPro Social Login (Requires v.3 or above) | |
function my_pmprosl_custom_shortcode($shortcode) | |
{ | |
// edit this line to change the shortcode displayed on the checkout page | |
return '[TheChamp-Login title="Use your Social Account to Login"]'; | |
} | |
add_filter("pmprosl_login_shortcode", "my_pmprosl_custom_shortcode"); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment