public static function panel($title, $description)
    {
        $argCount = func_num_args();
        $args = func_get_args();

        $sections = array();
        for ($i = 2; $i < $argCount; ++$i) {
            $sections[$args[$i]['id']] = $args[$i];
        }

        return array(
            'title'       => $title,
            'description' => $description,
            'sections'    => $sections
        );
    }
public static function panel($title, $description)
    {
        $argCount = func_num_args();
        $args = func_get_args();

        $sections = array();
        for ($i = 2; $i < $argCount; ++$i) {
            $sections[$args[$i]['id']] = $args[$i];
        }

        return array(
            'title'       => $title,
            'description' => $description,
            'sections'    => $sections
        );
    }
public static function panel ( $ title , $ description ) { $ argCount = func_num_args ( ) ; $ args = func_get_args ( ) ; $ sections = array ( ) ; for ( $ i = 2 ; $ i < $ argCount ; ++ $ i ) { $ sections [ $ args [ $ i ] [ 'id' ] ] = $ args [ $ i ] ; } return array ( 'title' => $ title , 'description' => $ description , 'sections' => $ sections ) ; }
Define a customizer panel. The function accepts more than 2 arguments. All arguments passed after the description
will define the sections of the panel.

@param string $title
@param string $description
@return array
Define a customizer panel . The function accepts more than 2 arguments . All arguments passed after the description will define the sections of the panel .