Created
November 21, 2017 09:25
-
-
Save stalukder03/1bbcdc1a4ff6087fa746e2d03d9f7a46 to your computer and use it in GitHub Desktop.
Disable Redux activation redirect
This file contains 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
add_action( 'redux/construct', 'radium_remove_as_plugin_flag' ); | |
/** | |
* Remove plugin flag from redux. Get rid of redirect | |
* | |
* @since 1.0.0 | |
*/ | |
function radium_remove_as_plugin_flag() { | |
ReduxFramework::$_as_plugin = false; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment