Created
February 10, 2015 19:55
-
-
Save mindctrl/a102806b03587762a422 to your computer and use it in GitHub Desktop.
Removes the forced homepage redirect on the [edd_login] shortcode when using Marketify.
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 | |
| /** | |
| * Remove the Marketify edd_login redirect | |
| */ | |
| function jp_fix_marketify_edd_shortcode() { | |
| remove_filter( 'shortcode_atts_edd_login', 'marketify_shortcode_atts_edd_login' ); | |
| } | |
| add_action( 'init', 'jp_fix_marketify_edd_shortcode' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment