add missing function to stub

This commit is contained in:
Daniel Hüsken 2025-02-11 10:16:38 +01:00
parent bbc0b61553
commit 26b3f68a6f
No known key found for this signature in database
GPG key ID: 9F732DA37FA709E8
2 changed files with 10 additions and 3 deletions

View file

@ -2094,6 +2094,16 @@ function wcs_order_contains_product($order, $product)
*/
function wc_get_page_screen_id( $for ) {}
/**
* Checks if manual renewals are enabled.
*
* @since 1.0.0 - Migrated from WooCommerce Subscriptions v4.0.0
* @return bool Whether manual renewal is enabled.
*/
function wcs_is_manual_renewal_enabled()
{
}
/**
* Subscription Product Variation Class
*

View file

@ -12,10 +12,7 @@ namespace WooCommerce\PayPalCommerce\PayPalSubscriptions;
use ActionScheduler_Store;
use WC_Order;
use WC_Product;
use WC_Product_Subscription;
use WC_Product_Subscription_Variation;
use WC_Product_Variable;
use WC_Product_Variable_Subscription;
use WC_Subscription;
use WC_Subscriptions_Product;
use WooCommerce\PayPalCommerce\ApiClient\Endpoint\BillingSubscriptions;