Return string
This commit is contained in:
parent
8792b53ecb
commit
6c35df1551
|
@ -589,7 +589,7 @@ class WC_Shortcodes {
|
|||
*/
|
||||
public static function shop_messages() {
|
||||
if ( ! function_exists( 'wc_print_notices' ) ) {
|
||||
return;
|
||||
return '';
|
||||
}
|
||||
return '<div class="woocommerce">' . wc_print_notices( true ) . '</div>';
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue