Last active
January 27, 2020 10:47
-
-
Save raducretu/fdc238a90710ed3623c26d89fef2a087 to your computer and use it in GitHub Desktop.
Events Schedule Custom Taxonomy
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_action( 'init', 'wcs_register_custom_taxonomies' ); | |
function wcs_register_custom_taxonomies(){ | |
register_taxonomy( | |
'custom_tax', | |
'class', | |
array( | |
'label' => esc_html__( 'Custom Tax Name', 'text-domain' ), | |
'rewrite' => array( 'slug' => 'custom_tax_slug' ) | |
) | |
); | |
} |
NM figured. Is there a way to change the order of it. I mean, as is now it shows as the last filter but I need that to be the second after the class types.
You have to add this code in the functions.php of your child theme. And then you need to activate the display of your new filter in the schedule builder
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
hey there, where do I add this code to? also is this going to be available on filters and builder?