Meta Box
Support Forum
Support › MB Custom Taxonomy › How to add "ep_mask" to taxonomy and CPT
I am using the visual builder to create a CPT and taxonomy, and I need to set the ep_mask key in the rewrite argument like this:
ep_mask
'rewrite' => array( 'ep_mask' => EP_PAGES,
How can I do this?
Is this possible or will I have to manually code the CPT and taxonomy?
Hi,
After creating the CPT, taxonomy in the Builder, you can click on the button "Get PHP Code" to get the PHP code that you can insert into your theme’s functions.php file (or your plugin’s file).
Read more on the documentation https://docs.metabox.io/creating-post-types/ https://developer.wordpress.org/reference/functions/register_post_type/
Thank you. Can you please add support for ep_mask in the builder in a future update?
Thanks