Get Current Child Page with get_children

There are many method to display current child page in WordPress, this function is usefull to do the same command. Just Paste this code in functions.php

Call the function within the template file:

more documentation about get_children.

PHP, snippet, Wordpress,

Any idea? Fill the comment below

This site uses Akismet to reduce spam. Learn how your comment data is processed.