/** * Inits custom taxonomies. */ function wpcf_custom_taxonomies_init() { $custom_taxonomies = get_option(WPCF_OPTION_NAME_CUSTOM_TAXONOMIES, array()); if (!empty($custom_taxonomies)) { foreach ($custom_taxonomies as $taxonomy => $data) { wpcf_custom_taxonomies_register($taxonomy, $data); } } }
/** * Inits custom taxonomies. */ function wpcf_custom_taxonomies_init() { $custom_taxonomies = get_option('wpcf-custom-taxonomies', array()); if (!empty($custom_taxonomies)) { foreach ($custom_taxonomies as $taxonomy => $data) { wpcf_custom_taxonomies_register($taxonomy, $data); } } }