How can I show my hierarchical custom taxonomy metabox on gutenberg editor as flat post_categories_meta_box?
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Hello. Thank you for contacting the Toolset support.
As I understand, you want to display convert hierarchical taxonomy to flat taxonomy?
No, I want to use flat taxonomy but I want to use the category style(checkbox) metabox in gutenberg editor
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
No - there is no such feature available and for your custom requirement you are welcome to contact our certified partners:
=> https://toolset.com/contractors/
isn't there any hook that I can use to attach the cb metabox?
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
I'm afraid that Toolset do not offer such hook that you should be able to use to customize the admin section to change taxonomy layout.
But what is this cb metabox section
Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
meta_box_cb section is offered by WordPress.
=> https://developer.wordpress.org/reference/functions/register_taxonomy/
Please check section "meta_box_cb":