public function start_el( &$output, $item, $depth = 0, $args = [], $item_id = 0 ) {
		parent::start_el( $output, $item, $depth, $args, $item_id );

		$output = preg_replace(
			'/menu-item-has-children([^>\"]*?)">/ms',
			'menu-item-has-children$1" aria-haspopup="true">',
			$output
		);
	}
public function start_el( &$output, $item, $depth = 0, $args = [], $item_id = 0 ) {
		parent::start_el( $output, $item, $depth, $args, $item_id );

		$output = preg_replace(
			'/menu-item-has-children([^>\"]*?)">/ms',
			'menu-item-has-children$1" aria-haspopup="true">',
			$output
		);
	}
public function start_el ( & $ output , $ item , $ depth = 0 , $ args = [ ] , $ item_id = 0 ) { parent :: start_el ( $ output , $ item , $ depth , $ args , $ item_id ) ; $ output = preg_replace ( '/menu-item-has-children([^>\"]*?)">/ms' , 'menu-item-has-children$1" aria-haspopup="true">' , $ output ) ; }
Starts the element output.

@see Walker_Nav_Menu::start_el()

@param string   $output  Used to append additional content (passed by reference).
@param WP_Post  $item    Menu item data object.
@param int      $depth   Depth of menu item. Used for padding.
@param stdClass $args    An object of wp_nav_menu() arguments.
@param int      $item_id Current item ID.
Starts the element output .