at path:
ROOT
/
wp-content
/
plugins
/
tutor
/
ecommerce
/
OptionKeys.php
run:
R
W
Run
Cart
DIR
2026-04-14 05:34:26
R
W
Run
PaymentGateways
DIR
2026-04-14 05:34:27
R
W
Run
AdminMenu.php
2.72 KB
2026-04-14 05:34:26
R
W
Run
Delete
Rename
BillingController.php
5.57 KB
2026-04-14 05:34:26
R
W
Run
Delete
Rename
CartController.php
6.78 KB
2026-04-14 05:34:26
R
W
Run
Delete
Rename
CheckoutController.php
38.15 KB
2026-04-14 05:34:26
R
W
Run
Delete
Rename
CouponController.php
24.64 KB
2026-04-14 05:34:26
R
W
Run
Delete
Rename
Ecommerce.php
5.37 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
EmailController.php
25.54 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
HooksHandler.php
17.26 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
OptionKeys.php
1.81 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
OrderActivitiesController.php
4.62 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
OrderController.php
37.64 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
PaymentHandler.php
3.96 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
Settings.php
12.82 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
Tax.php
6.66 KB
2026-04-14 05:34:27
R
W
Run
Delete
Rename
currency.php
27.67 KB
2026-04-14 05:34:26
R
W
Run
Delete
Rename
error_log
up
📄
OptionKeys.php
Save
<?php /** * Option keys for ecommerce * * @package Tutor\Ecommerce * @author Themeum * @link https://themeum.com * @since 3.0.0 */ namespace Tutor\Ecommerce; /** * Option key names */ class OptionKeys { // Currency Settings. const CURRENCY_CODE = 'currency_code'; const CURRENCY_POSITION = 'currency_position'; const THOUSAND_SEPARATOR = 'thousand_separator'; const DECIMAL_SEPARATOR = 'decimal_separator'; const NUMBER_OF_DECIMALS = 'number_of_decimals'; // Payment Methods. const IS_ENABLE_PAYPAL_PAYMENT = 'is_enable_paypal_payment'; const IS_ENABLE_STRIPE_PAYMENT = 'is_enable_stripe_payment'; // Tax and Coupon Settings. const IS_TAX_APPLICABLE = 'is_tax_applicable'; const IS_COUPON_APPLICABLE = 'is_coupon_applicable'; // Billing Information Settings. const BILLING_ADDRESS = 'billing_address'; const BILLING_PHONE_NUMBER = 'billing_phone_number'; const BILLING_EMAIL = 'billing_email'; // Ecommerce Policies. const PRIVACY_POLICY = 'ecommerce_privacy_policy'; // Payment settings. const MANUAL_PAYMENT_KEY = 'tutor_manual_payments'; const PAYMENT_SETTINGS = 'payment_settings'; const BUY_NOW = 'is_enable_buy_now'; /** * Get billing field options * * @since 3.0.0 * * @return array */ public static function get_billing_field_options() { $options = array( 'optional' => __( 'Optional', 'tutor' ), 'required' => __( 'Required', 'tutor' ), 'omit' => __( 'Don\'t Include', 'tutor' ), ); return apply_filters( 'tutor_ecommerce_billing_field_options', $options ); } /** * Get tax configuration page url * * @since 3.0.0 * * @return array */ public static function get_tax_config_page_url() { $url = admin_url( 'admin.php?page=tutor_settings&tab=tax_configuration' ); return apply_filters( 'tutor_tax_config_page_url', $url ); } }