Merge pull request #19449 from woocommerce/fix/19439
Set is_shortcode loop prop when outputting subcategories
This commit is contained in:
commit
b8700c51e2
|
@ -200,6 +200,7 @@ class WC_Shortcodes {
|
|||
$columns = absint( $atts['columns'] );
|
||||
|
||||
wc_set_loop_prop( 'columns', $columns );
|
||||
wc_set_loop_prop( 'is_shortcode', true );
|
||||
|
||||
ob_start();
|
||||
|
||||
|
|
Loading…
Reference in New Issue