Skip to content

s2_taxonomies

  • Subscribe2
  • Updated Nov 23, 2023
  • 1 min read

this hook allows the registration of Custom Taxonomies in Subscribe2 so that notifications assigned to such custom taxonomies can still generate an email notification.this hook allows the registration of Custom Taxonomies in Subscribe2 so that notifications assigned to such custom taxonomies can still generate an email notification.

function my_taxonomy_types($taxonomies) {
$taxonomies[] = 'my_taxonomy_type';
return $taxonomies;
}
add_filter('s2_taxonomies', 'my_taxonomy_types');

Last updated on

Filed under Hooks, API & Customization

Still stuck?

Our support team can walk you through it.