woocommerce_register_taxonomy
Usage
add_action( 'woocommerce_register_taxonomy', 'wp_kama_woocommerce_register_taxonomy_action' ); /** * Function for `woocommerce_register_taxonomy` action-hook. * * @return void */ function wp_kama_woocommerce_register_taxonomy_action(){ // action... }
Where the hook is called
woocommerce_register_taxonomy
woocommerce/includes/class-wc-post-types.php 51
do_action( 'woocommerce_register_taxonomy' );
Where the hook is used in WooCommerce
woocommerce/includes/class-wc-brands.php 38
add_action( 'woocommerce_register_taxonomy', array( __CLASS__, 'init_taxonomy' ) );