includes/class-maera-core-customizer.php
Method add_controls
has 40 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function add_controls( $wp_customize ) {
// Get the available shells and format the array properly
$available_shells = apply_filters( 'maera/shells/available', array() );
$shells = array();
Method add_settings
has 29 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function add_settings( $wp_customize ) {
$wp_customize->add_setting( 'maera_admin_options[shell]', array(
'default' => 'core',
'type' => 'option',