WooSubscriptionsNotes
Class: Woo_Subscriptions_Notes
Source: packages/woocommerce-admin/src/Notes/WooSubscriptionsNotes.php:15
Class: Woo_Subscriptions_Notes
Source: packages/woocommerce-admin/src/Notes/WooSubscriptionsNotes.php:15
Method: Adds a note for an expired subscription, or updates an expiring note to expired.
Source: packages/woocommerce-admin/src/Notes/WooSubscriptionsNotes.php:353
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
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
Method: Hook all the things.
Source: packages/woocommerce-admin/src/Notes/WooSubscriptionsNotes.php:34
Method: Reacts to changes in the helper option.
Source: packages/woocommerce-admin/src/Notes/WooSubscriptionsNotes.php:45
Method: Things to do on admin_init.
Source: packages/woocommerce-admin/src/Notes/WooSubscriptionsNotes.php:76
Method: Checks the connection. Adds a note (as necessary) if there is no connection.
Source: packages/woocommerce-admin/src/Notes/WooSubscriptionsNotes.php:105