Created
August 11, 2020 14:57
-
-
Save farookibrahim/85ed4d1fc6f6a78932ed8bb1818be050 to your computer and use it in GitHub Desktop.
Electro - Force Redux Framework to 3.x
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
function ec_child_tgmpa_plugins_force_redux_3( $plugins ) { | |
foreach ( $plugins as $key => $plugin ) { | |
if( isset( $plugin['slug'] ) && $plugin['slug'] == 'redux-framework' ) { | |
$plugins[$key]['source'] = 'https://transvelo.github.io/included-plugins/redux-framework.3.6.18.zip'; | |
} | |
} | |
return $plugins; | |
} | |
add_filter( 'ec_tgmpa_plugins', 'ec_child_tgmpa_plugins_force_redux_3', 20 ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment