settings.php
Hooks admin settings under the WordPress settings menu, with tabbulation.
Use the 'wallets_settings_tabs' filter to add more tabs.
Tags
Table of Contents
- DEFAULT_ADDRESS_MAX_COUNT = 10
- DEFAULT_CRON_AGGREGATE_INTERVAL = 0
- DEFAULT_CRON_APPROVE_WITHDRAWALS = ''
- DEFAULT_CRON_AUTOCANCEL_INTERVAL = 0
- DEFAULT_CRON_EMAILS_MAX_BATCH_SIZE = 8
- DEFAULT_CRON_INTERVAL = 'wallets_one_minute'
- DEFAULT_CRON_MOVES_MAX_BATCH_SIZE = 8
- DEFAULT_CRON_TASK_TIMEOUT = 5
- DEFAULT_CRON_VERBOSE = ''
- DEFAULT_CRON_WITHDRAWALS_MAX_BATCH_SIZE = 4
- DEFAULT_DISABLE_CACHE = false
- DEFAULT_FIAT_FIXERIO_CURRENCIES = ['USD']
- DEFAULT_FRONTEND_LEGACY_JSON_API = ''
- DEFAULT_FRONTEND_MOVE_SPILLS_USERS = 'on'
- DEFAULT_FRONTEND_POLLING_INTERVAL = 30
- DEFAULT_FRONTEND_VS_AMOUNT_DECIMALS = 4
- DEFAULT_HTTP_REDIRECTS = 2
- DEFAULT_HTTP_TIMEOUT = 10
- DEFAULT_HTTP_TOR_ENABLED = false
- DEFAULT_HTTP_TOR_IP = '127.0.0.1'
- DEFAULT_HTTP_TOR_PORT = 9050
- DEFAULT_RATES_VS = ['btc', 'usd']
- DEFAULT_TRANSIENTS_BROKEN = false
- DEFAULT_WALLETS_CONFIRM_MOVE_USER_ENABLED = ''
- DEFAULT_WALLETS_CONFIRM_WITHDRAW_USER_ENABLED = 'on'
- MAX_DROPDOWN_LIMIT = 1000
- TABS = ['general' => '🔧 General settings', 'rates' => '💱 Exchange rates', 'fiat' => '💵 Fiat currencies', 'frontend' => '🗔 Frontend UI settings', 'notify' => '📧 Notifications', 'cron' => '⌛ Cron tasks', 'http' => '🌐 HTTP settings']
- numeric_cb() : mixed
- string_cb() : mixed
- select_cb() : mixed
- checkbox_cb() : mixed
- multicheckbox_cb() : mixed
- page_cb() : mixed
- settings_page_cb() : mixed
- tab_cron_cb() : mixed
- tab_general_cb() : mixed
- tab_frontend_cb() : mixed
- tab_http_cb() : mixed
- tab_rates_cb() : mixed
- tab_notify_cb() : mixed
- tab_fiat_cb() : mixed
Constants
DEFAULT_ADDRESS_MAX_COUNT
public
mixed
DEFAULT_ADDRESS_MAX_COUNT
= 10
DEFAULT_CRON_AGGREGATE_INTERVAL
public
mixed
DEFAULT_CRON_AGGREGATE_INTERVAL
= 0
DEFAULT_CRON_APPROVE_WITHDRAWALS
public
mixed
DEFAULT_CRON_APPROVE_WITHDRAWALS
= ''
DEFAULT_CRON_AUTOCANCEL_INTERVAL
public
mixed
DEFAULT_CRON_AUTOCANCEL_INTERVAL
= 0
DEFAULT_CRON_EMAILS_MAX_BATCH_SIZE
public
mixed
DEFAULT_CRON_EMAILS_MAX_BATCH_SIZE
= 8
DEFAULT_CRON_INTERVAL
public
mixed
DEFAULT_CRON_INTERVAL
= 'wallets_one_minute'
DEFAULT_CRON_MOVES_MAX_BATCH_SIZE
public
mixed
DEFAULT_CRON_MOVES_MAX_BATCH_SIZE
= 8
DEFAULT_CRON_TASK_TIMEOUT
public
mixed
DEFAULT_CRON_TASK_TIMEOUT
= 5
DEFAULT_CRON_VERBOSE
public
mixed
DEFAULT_CRON_VERBOSE
= ''
DEFAULT_CRON_WITHDRAWALS_MAX_BATCH_SIZE
public
mixed
DEFAULT_CRON_WITHDRAWALS_MAX_BATCH_SIZE
= 4
DEFAULT_DISABLE_CACHE
public
mixed
DEFAULT_DISABLE_CACHE
= false
DEFAULT_FIAT_FIXERIO_CURRENCIES
public
mixed
DEFAULT_FIAT_FIXERIO_CURRENCIES
= ['USD']
DEFAULT_FRONTEND_LEGACY_JSON_API
public
mixed
DEFAULT_FRONTEND_LEGACY_JSON_API
= ''
DEFAULT_FRONTEND_MOVE_SPILLS_USERS
public
mixed
DEFAULT_FRONTEND_MOVE_SPILLS_USERS
= 'on'
DEFAULT_FRONTEND_POLLING_INTERVAL
public
mixed
DEFAULT_FRONTEND_POLLING_INTERVAL
= 30
DEFAULT_FRONTEND_VS_AMOUNT_DECIMALS
public
mixed
DEFAULT_FRONTEND_VS_AMOUNT_DECIMALS
= 4
DEFAULT_HTTP_REDIRECTS
public
mixed
DEFAULT_HTTP_REDIRECTS
= 2
DEFAULT_HTTP_TIMEOUT
public
mixed
DEFAULT_HTTP_TIMEOUT
= 10
DEFAULT_HTTP_TOR_ENABLED
public
mixed
DEFAULT_HTTP_TOR_ENABLED
= false
DEFAULT_HTTP_TOR_IP
public
mixed
DEFAULT_HTTP_TOR_IP
= '127.0.0.1'
DEFAULT_HTTP_TOR_PORT
public
mixed
DEFAULT_HTTP_TOR_PORT
= 9050
DEFAULT_RATES_VS
public
mixed
DEFAULT_RATES_VS
= ['btc', 'usd']
DEFAULT_TRANSIENTS_BROKEN
public
mixed
DEFAULT_TRANSIENTS_BROKEN
= false
DEFAULT_WALLETS_CONFIRM_MOVE_USER_ENABLED
public
mixed
DEFAULT_WALLETS_CONFIRM_MOVE_USER_ENABLED
= ''
DEFAULT_WALLETS_CONFIRM_WITHDRAW_USER_ENABLED
public
mixed
DEFAULT_WALLETS_CONFIRM_WITHDRAW_USER_ENABLED
= 'on'
MAX_DROPDOWN_LIMIT
public
mixed
MAX_DROPDOWN_LIMIT
= 1000
TABS
public
mixed
TABS
= ['general' => '🔧 General settings', 'rates' => '💱 Exchange rates', 'fiat' => '💵 Fiat currencies', 'frontend' => '🗔 Frontend UI settings', 'notify' => '📧 Notifications', 'cron' => '⌛ Cron tasks', 'http' => '🌐 HTTP settings']
Functions
numeric_cb()
numeric_cb(mixed $arg) : mixed
Parameters
- $arg : mixed
Return values
mixed —string_cb()
string_cb(mixed $arg) : mixed
Parameters
- $arg : mixed
Return values
mixed —select_cb()
select_cb(mixed $arg) : mixed
Parameters
- $arg : mixed
Return values
mixed —checkbox_cb()
checkbox_cb(mixed $arg) : mixed
Parameters
- $arg : mixed
Return values
mixed —multicheckbox_cb()
multicheckbox_cb(mixed $arg) : mixed
Parameters
- $arg : mixed
Return values
mixed —page_cb()
page_cb(mixed $arg) : mixed
Parameters
- $arg : mixed
Return values
mixed —settings_page_cb()
settings_page_cb(mixed $arg) : mixed
Parameters
- $arg : mixed
Return values
mixed —tab_cron_cb()
tab_cron_cb(mixed $arg) : mixed
Parameters
- $arg : mixed
Return values
mixed —tab_general_cb()
tab_general_cb(mixed $arg) : mixed
Parameters
- $arg : mixed
Return values
mixed —tab_frontend_cb()
tab_frontend_cb(mixed $arg) : mixed
Parameters
- $arg : mixed
Return values
mixed —tab_http_cb()
tab_http_cb(mixed $arg) : mixed
Parameters
- $arg : mixed
Return values
mixed —tab_rates_cb()
tab_rates_cb(mixed $arg) : mixed
Parameters
- $arg : mixed
Return values
mixed —tab_notify_cb()
tab_notify_cb(mixed $arg) : mixed
Parameters
- $arg : mixed
Return values
mixed —tab_fiat_cb()
tab_fiat_cb(mixed $arg) : mixed
Parameters
- $arg : mixed