Skip to content

Instantly share code, notes, and snippets.

@mindctrl
Created February 10, 2015 19:55
Show Gist options
  • Select an option

  • Save mindctrl/a102806b03587762a422 to your computer and use it in GitHub Desktop.

Select an option

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