why dont work $hastr varable in inside construct if in php wordpress [on hold]

Question

my code is class walker wordpress
i have custom this page for template
but no work varable inside constract if

    $hastr =intval($item->menu_item_parent);
    var_dump($hastr)//0 55 65 48 25 
    if($item->menu_item_parent == '0'){

        var_dump($hastr);// dont work and return 
        $ha_int=intval($item->db_id);
        $output .= $indent . '<li' . $id . $class_names . '>';
    }
0
, hamid 2 years 2019-10-31T05:23:02-05:00 0 Answers 92 views 0

Leave an answer

Browse
Browse