2020-03-22 16:58:11

Related Docs

You have seen all Documentation regarding Hierarchical Posts Tree.
Search the complete TukuToi Software Documentation!

Do You Need Help or Expertise?

Is editing Source Code not Your Thing? Are you in a tight Time Schedule and need to deliver a fully scalable and safe solution fast to your Clients?

Maybe you want to incorporate the Software found on TukuToi unbranded and royalty free in your Clients Projects after customizing it as per your Projects requirements?

Or eventually you need some training on any WordPress Plugin, Theme or their creation and maintenance?

Filtertkt_treeview_posts_type()

The tkt_treeview_posts_type filter can be used to change the Post Type queried by Hierarchical Posts Tree Plugin

The tkt_treeview_posts_type Filter can be used to change the Post Type queried by the Hierarchical Posts Tree plugin.

Arguments:

  • $post_typeslug [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;
    }