WooCommerce:将内容添加到空购物车页面

仿牌独立站出海专家


add_action( 'woocommerce_cart_is_empty', 'bbloomer_add_content_empty_cart' );
 
function bbloomer_add_content_empty_cart() {
echo 'This will show on the empty cart page';
}