Support Forum

Please login to receive premium support.

Support for the free plugin can be found here.

Home Forums Pro Support Taxonomy > Terms Reply To: Taxonomy > Terms

#9336
Joshua
Participant

I’m also finding a need to filter the args that allow querying tax terms according to post status. It is default WP functionality which I override with this (which btw no longer works with the block editor)

add_filter( 'quick_edit_dropdown_pages_args', 'typewheel_allow_private_status' );
add_filter( 'page_attributes_dropdown_pages_args', 'typewheel_allow_private_status' );
function typewheel_allow_private_status( $dropdown_args ) {
	$dropdown_args['post_status'] = 'publish,private,draft';
	return $dropdown_args;
}

I’ll probably create a blank public page and assign each tax term just to get them selectable. So, I’m also good to go, but thought I’d contribute my approach.