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
<?php | |
/* Nate field is not saving a value. Or possible updating the value? Any ideas? | |
/** | |
* The admin-specific functionality of the plugin. | |
* | |
* @link http://waynebrett.com | |
* @since 1.0.0 | |
* | |
* @package Developer_Branding | |
* @subpackage Developer_Branding/admin |
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
// Remove unwanted sections or panels in the theme customizer | |
// Add to child theme fuctions.php or child_theme_functions.php or child-theme-customizer.php | |
function remove_customizer_options_sections(){ | |
global $wp_customize; | |
// Normal customizer sections | |
//$wp_customize->remove_panel('nav_menus'); // Menus section | |
//$wp_customize->remove_section('title_tagline'); // Site Identity section |