Browse: Home / Functions /

learndash_billing_cycle_field_interval_validate

learndash_billing_cycle_field_interval_validate( int $price_billing_p3,  string $price_billing_t3 = '' )

Validate the Billing cycle field interval.


Description #


Parameters #

$price_billing_p3

(int) (Required) The Billing field value.

$price_billing_t3

(string) (Optional) The Billing field context. D, M, W, or Y.

Default value: ''


Return #

(int) Valid interval or zero.


Source #

File: includes/settings/settings-billing-functions.php


Changelog #

Changelog
Version Description
3.5.0 Introduced.