Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add the 'Customize' sub-menu item under 'Appearance'.

  • Loading branch information...
commit 7ac5c3cdef32d9e81f9276649e41d7c57857a84b 1 parent d4eb591
@justintadlock authored
Showing with 8 additions and 0 deletions.
  1. +8 −0 admin/admin.php
View
8 admin/admin.php
@@ -31,6 +31,14 @@ function hybrid_admin_setup() {
/* Loads admin stylesheets for the framework. */
add_action( 'admin_enqueue_scripts', 'hybrid_admin_enqueue_styles' );
+
+ /* Add the WordPress 'Customize' page as an admin menu link. */
+ add_theme_page(
+ esc_html__( 'Customize', 'hybrid-core' ), // Settings page name
+ esc_html__( 'Customize', 'hybrid-core' ), // Menu name
+ 'edit_theme_options', // Required capability
+ 'customize.php' // File to load
+ );
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.