WordPress at a glance
function is not described


WooSubscriptionsNotes::get_bump_thresholds() private WC 1.0

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.

{} It's a method of the class: WooSubscriptionsNotes{}

No Hooks.


Array. Nothing.


// private - for code of main (parent) class only
$result = $this->get_bump_thresholds();

Code of WooSubscriptionsNotes::get_bump_thresholds() WC 5.2.2

private function get_bump_thresholds() {
	return array( 60, 45, 20, 7, 1 ); // days.