fragment. * Pure DOM/string parsing, no WordPress calls. * * @package Esipher */ namespace Esipher; if ( ! defined( 'ABSPATH' ) ) { exit; } /** * Maps a raw HTML fragment into an ordered list of * ['label' => string, 'href' => string, 'children' => array] items. */ class Nav_Mapper { /** * Map a