• Resolved miscs

    (@miscs)


    Hi all,

    with classic editor it is possible to show the parent-dropdown also for darft posts and also to include draft post inside of the dropdown using this:

    function my_show_all_parents( $args ) {
    	$args['post_status'] = array( 'publish', 'pending', 'draft', 'private' );
    	return $args;
    }
    add_filter( 'page_attributes_dropdown_pages_args', 'my_show_all_parents' );
    add_filter( 'quick_edit_dropdown_pages_args', 'my_show_all_parents' );

    How is something like this possible also for the Gutenberg editor? Any hints are highly appreciated! Thanks!

    All the best

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Parent Dropdown also for Status DRAFT’ is closed to new replies.