protected function init_responsive_config() { foreach ( $this->script_config['menuClasses'] as $menus ) { foreach ( $menus as $nav ) { $attribute = ltrim( $nav, '.' ); $theme_location = ltrim( $nav, '.nav-' ); $this->responsive_config[ $attribute ] = $theme_location; } } }