Dev Resources

  • Home
  • Reference
  • BuddyX Theme
  • Functions
  • Hooks
  • Classes
Filter by type:
Search
Browse: Home / Reference / packages/woocommerce-admin/src/Notes/WooSubscriptionsNotes.php / Page 2

WooSubscriptionsNotes::add_or_update_subscription_expiring()

Method: Adds or updates a note for an expiring subscription.

Source: packages/woocommerce-admin/src/Notes/WooSubscriptionsNotes.php:275

Used by 1 function | Uses 12 functions

WooSubscriptionsNotes

Class: Woo_Subscriptions_Notes

Source: packages/woocommerce-admin/src/Notes/WooSubscriptionsNotes.php:15

Used by 0 functions | Uses 0 functions

WooSubscriptionsNotes::add_or_update_subscription_expired()

Method: Adds a note for an expired subscription, or updates an expiring note to expired.

Source: packages/woocommerce-admin/src/Notes/WooSubscriptionsNotes.php:353

Used by 1 function | Uses 11 functions

WooSubscriptionsNotes::get_bump_thresholds()

Method: We want to bubble up expiration notices when they cross certain age thresholds. PHP 5.2 doesn’t support constant arrays, so we do this.

Source: packages/woocommerce-admin/src/Notes/WooSubscriptionsNotes.php:27

Used by 2 functions | Uses 0 functions

WooSubscriptionsNotes::refresh_subscription_notes()

Method: For each active subscription on this site, checks the expiration date and creates/updates/deletes notes.

Source: packages/woocommerce-admin/src/Notes/WooSubscriptionsNotes.php:412

Used by 2 functions | Uses 8 functions

WooSubscriptionsNotes::__construct()

Method: Hook all the things.

Source: packages/woocommerce-admin/src/Notes/WooSubscriptionsNotes.php:34

Used by 1 function | Uses 0 functions

WooSubscriptionsNotes::update_option_woocommerce_helper_data()

Method: Reacts to changes in the helper option.

Source: packages/woocommerce-admin/src/Notes/WooSubscriptionsNotes.php:45

Used by 0 functions | Uses 4 functions

WooSubscriptionsNotes::admin_init()

Method: Things to do on admin_init.

Source: packages/woocommerce-admin/src/Notes/WooSubscriptionsNotes.php:76

Used by 0 functions | Uses 3 functions
« Previous 1 2
Proudly powered by WordPress