#9116. Moving the action outside the curly braces will do the trick.
This commit is contained in:
parent
4a774943e9
commit
8e37f8d0a5
|
@ -209,9 +209,9 @@ class WC_Post_types {
|
|||
register_taxonomy( $name, apply_filters( "woocommerce_taxonomy_objects_{$name}", array( 'product' ) ), apply_filters( "woocommerce_taxonomy_args_{$name}", $taxonomy_data ) );
|
||||
}
|
||||
}
|
||||
|
||||
do_action( 'woocommerce_after_register_taxonomy' );
|
||||
}
|
||||
|
||||
do_action( 'woocommerce_after_register_taxonomy' );
|
||||
}
|
||||
|
||||
/**
|
||||
|
|
Loading…
Reference in New Issue