public function add_hamburger_target_menu_attributes( array $attributes ) { $attributes['[class]'] = "'{$attributes['class']}' + ( {$this->hamburger_config['state_id']} ? ' toggled-on' : '' )"; return $attributes; } Published: 25th November 2019 | Last updated: 25th November 2019