Skip to content

Embed URL

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
<?php
function be_always_parent_subpages( $args ) {
global $post;
$args['child_of'] = $post->ID;
$args['parent'] = $post->ID;
return $args;
}
add_filter( 'be_subpages_widget_args', 'be_always_parent_subpages' );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.