Skip to content

Instantly share code, notes, and snippets.

@maheshwaghmare
Created May 17, 2021
Embed
What would you like to do?
Get all child pages - https://maheshwaghmare.com/?p=37686
<?php
$child_pages = get_pages( array(
'child_of' => 46,
'post_status' => 'publish'
));
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment