2 improved formatting
source | link

You can use the args$args in get_childrenget_children, but ensure you also specify the post ID that you want to retrieve children from, even if it is the current page children you want

get_children( array(
    'post_parent' => $post->ID,
    'orderby' => 'menu_order',
    'order' => 'ASC'
)); 

You can use the args in get_children, but ensure you also specify the post ID that you want to retrieve children from, even if it is the current page children you want

get_children( array(
    'post_parent' => $post->ID,
    'orderby' => 'menu_order',
    'order' => 'ASC'
)); 

You can use the $args in get_children, but ensure you also specify the post ID that you want to retrieve children from, even if it is the current page children you want

get_children( array(
    'post_parent' => $post->ID,
    'orderby' => 'menu_order',
    'order' => 'ASC'
)); 
1
source | link

You can use the args in get_children, but ensure you also specify the post ID that you want to retrieve children from, even if it is the current page children you want

get_children( array(
    'post_parent' => $post->ID,
    'orderby' => 'menu_order',
    'order' => 'ASC'
));