Hook
tkt_treeview_post_type()
The tkt_treeview_posts_type
Filter can be used to change the Post Type queried by the Hierarchical Posts Tree plugin.
Arguments:
$post_type
– slug [The post type slug to query]Example:
add_filter( 'tkt_treeview_posts_type', 'change_the_post_type' ); function change_the_post_type($post_type){ $post_type = 'post';//change this to the post type you want to query return $post_type; }