'post_parent', 'id' => 'ID');
/**
* @see Walker::start_lvl()
* @since 2.1.0
*
* @param string $output Passed by reference. Used to append additional content.
* @param int $depth Depth of page. Used for padding.
* @param array $args
*/
function start_lvl( &$output, $depth = 0, $args = array() ) {
/*
$indent = '- ';
$parent_clss = explode(" ",$output);
$ppcnt = 1;
foreach ( $parent_clss as $parent_cl) {
$ppcnt++;
(strpos($parent_cl,"page-item-") !== false ) ? $ppint = intval(preg_replace("/[^0-9]/","",str_replace("page-item-","",$parent_cl))) : $ppint = 'pfid'.$ppcnt;
// var_dump($ppint);
$ppid = "pgi-page-item-".$ppint;
if(is_int($ppint)) {
$ppname = get_the_title($ppint);
// var_dump($ppname);
// (strpos($ppname,"[dd-ph]") !== false ) ? $thep_title = str_replace("[dd-ph]","",$ppname) : $thep_title = $ppname;
if(strpos($ppname,"[dd-ph]") !== false ) {
$ppname2 = str_replace("[dd-ph]","",$ppname) ;
$output .= "\n$indent