Missing $woocommerce #2182
This commit is contained in:
parent
2a71d08d44
commit
2e223d8509
|
@ -316,7 +316,7 @@ class WC_Shortcodes {
|
|||
*/
|
||||
public function recent_products( $atts ) {
|
||||
|
||||
global $woocommerce_loop;
|
||||
global $woocommerce_loop, $woocommerce;
|
||||
|
||||
extract(shortcode_atts(array(
|
||||
'per_page' => '12',
|
||||
|
|
Loading…
Reference in New Issue