Skip to content

Instantly share code, notes, and snippets.

@billerickson billerickson/functions.php Secret
Last active May 28, 2019

What would you like to do?
* Disable Genesis Customizer Redirect
* @see
function be_disable_genesis_customizer_redirect() {
global $_genesis_admin_settings, $_genesis_admin_seo_settings;
$_genesis_admin_settings->redirect_to = '/wp-admin/admin.php?page=genesis&noredirect';
$_genesis_admin_seo_settings->redirect_to = '/wp-admin/admin.php?page=seo-settings&noredirect';
add_action( 'genesis_admin_menu', 'be_disable_genesis_customizer_redirect', 11 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.