Obtener categorías WordPress Consuly

<ul>
<?php 
            global $post;
            $args = array(
                'show_option_all'    => '',
                'orderby'            => 'name',
                'order'              => 'ASC',
                'show_count'         => 0,
                'hide_empty'         => 1,
                'use_desc_for_title' => 1,
                'child_of'           => 0,
                'feed'               => '',
                'title_li'           => '',
                'feed_type'          => '',
                'feed_image'         => '',
                'exclude'            => '',
                'exclude_tree'       => '',
                'include'            => '',
                'hierarchical'       => 1,
                'echo'               => 1,
                'taxonomy'           => 'category'
            );
            $the_query = wp_list_categories( $args ); 

            ?>
</ul>
Bongani