-
-
Notifications
You must be signed in to change notification settings - Fork 0
Configurable plug in constants
Boia Alexandru edited this page Jan 21, 2021
·
2 revisions
Constants are defined in lvdwcmc-plugin-header.php
and the following can be overridden in wp-config.php
.
Constant | Type | Description |
---|---|---|
LVD_WCMC_PAYMENT_ASSET_UPLOAD_CHUNK_SIZE |
int |
The chunk size is the maxim file chunk, expressed in bytes, that can be uploaded in one sitting. If a file is larger than this size, it will be split in multiple chunks, which will be uploaded in sequence. |
LVD_WCMC_PAYMENT_ASSET_UPLOAD_MAX_FILE_SIZE |
int |
The maximum size, in bytes, the the plug-in allows for the track file. That is, track files larger than this are rejected. Defaults to 10485760 or wp_max_upload_size() , whichever is larger. |
LVD_WCMC_RECORDS_PER_PAGE |
int |
The number of records per page displayed by LivePayments-MP-WC in listings that it manages (such as payment transactions listing). |
LVD_WCMC_SHOW_GATEWAY_READINESS_BANNER |
boolean |
Whether or not to show the gateway readiness banner in the payment gateway listing page (Payment tab) and in the payment gateway settings form. If not user-defined, it is set to true. |
LVD_WCMC_VALIDATE_MOBILPAY_URL_AS_LOCAL_PAGE |
boolean |
Whether or not to validate the payment gateway's return URL as a valid local WordPress page or post when performing gateway diagnostics. |