Merge pull request #19946 from woocommerce/fix/19940
Actions should be filters
This commit is contained in:
commit
a3a2d234bb
|
@ -18,8 +18,8 @@ add_filter( 'post_class', 'wc_product_post_class', 20, 3 );
|
|||
*
|
||||
* @see wc_generator_tag()
|
||||
*/
|
||||
add_action( 'get_the_generator_html', 'wc_generator_tag', 10, 2 );
|
||||
add_action( 'get_the_generator_xhtml', 'wc_generator_tag', 10, 2 );
|
||||
add_filter( 'get_the_generator_html', 'wc_generator_tag', 10, 2 );
|
||||
add_filter( 'get_the_generator_xhtml', 'wc_generator_tag', 10, 2 );
|
||||
|
||||
/**
|
||||
* Content Wrappers.
|
||||
|
|
Loading…
Reference in New Issue