#9116. Moving the action outside the curly braces will do the trick.

This commit is contained in:
Panagiotis Vagenas 2015-09-13 10:03:25 +03:00
parent 4a774943e9
commit 8e37f8d0a5
1 changed files with 2 additions and 2 deletions

View File

@ -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' );
}
/**