CURL_HTTP_VERSION_2TLS
public
mixed
CURL_HTTP_VERSION_2TLS
= 4
public
mixed
CURL_HTTP_VERSION_2TLS
= 4
public
mixed
CURL_SSLVERSION_TLSv1_2
= 6
public
mixed
MPLUSDSC
= __FILE__
public
mixed
MPLUSDSC_ASSETS
= trailingslashit(MPLUSDSC_URL . 'assets')
public
mixed
MPLUSDSC_DIR
= trailingslashit(plugin_dir_path(MPLUSDSC))
public
mixed
MPLUSDSC_NAME
= 'mplus-dokan-stripe-connect'
public
mixed
MPLUSDSC_URL
= trailingslashit(plugin_dir_url(MPLUSDSC))
public
mixed
MPLUSDSC_VERSION
= $this->version
Debug data.
mplusdsc_print(array<string|int, mixed> $data) : void
Get settings option value.
mplusdsc_get_option(string $option, string $section[, string $default = '' ]) : array<string|int, mixed>
Get other templates passing attributes and including the file.
mplusdsc_get_template(string $template_name[, array<string|int, mixed> $args = [] ][, string $template_path = '' ][, string $default_path = '' ]) : mixed
Search for the template and include the file.
template to load
args (optional) Passed arguments for the template file
(optional) Path to templates
(optional) Default path to template files
Like mplusdsc_get_template, but returns the HTML instead of outputting.
mplusdsc_get_template_html(string $template_name[, array<string|int, mixed> $args = [] ][, string $template_path = '' ][, string $default_path = '' ]) : string
template name
Arguments. (default: array).
Template path. (default: '').
Default path. (default: '').
Locate a template and return the path for inclusion.
mplusdsc_locate_template(string $template_name[, string $template_path = '' ][, string $default_path = '' ]) : string
Locate the called template. Search Order:
template to load
(optional) Path to templates
(optional) Default path to template files
$template path to the template file
Wrapper for mplusdsc_doing_it_wrong.
mplusdsc_doing_it_wrong(string $function, string $message, string $version) : mixed
function used
message to log
version the message was added in
get_vendor_from_cart() : mixed
get_order_by_payment_id(mixed $payment_id) : mixed
is_stripe_fee_pay_by_customer() : mixed
get_payment_fee_paid_by(mixed $product_id) : mixed
get_product_organizer_id(mixed $product_id) : mixed
get_event_id_from_order(mixed $order) : mixed
removed_customer_stripe_id(mixed $vendor_id) : mixed
get_event_ticket_types() : mixed
get_event_id_from_cart() : mixed
calculate_venue_fee_from_cart() : mixed
get_payment_information([mixed $order_id = NULL ]) : mixed
Initializes the main plugin.
mplusdsc_process() : Mplus_Stripe_Connect