-
Notifications
You must be signed in to change notification settings - Fork 63
Constants
Constants are set via the [https://codex.wordpress.org/Editing_wp-config.php](wp-config.php file) and will override any settings configured at the network or site level.
accepted values: disabled
, backup
, cdn
, stateless
default value: cdn
Scans post content and meta during presentation and replaces local media file urls with GCS urls. This setting does not modify your database.
accepted values: true
, false
default value: true
Upload image thumbnails generated by your theme and plugins that do not register media objects with the media library.
accepted values: true
, false
default value: false
The name of the GCS bucket.
If you would like files to be uploaded into a particular folder within the bucket, define that path here.
Private key in JSON text format for the service account WP-Stateless will use to connect to your Google Cloud project and bucket.
File path to private key file in JSON format.
Control the default cache control assigned by GCS.
accepted values: reference Google Cloud Documentation.
default value: public, max-age=36000, must-revalidate
Delete the GCS file when the file is deleted from WordPress.
accepted values: true
, false
default value: true
Replace the default GCS domain with your own custom domain. This will require you to configure a CNAME.
default value: storage.googleapis.com
Prepends a random set of numbers and letters to the filename. This is useful for preventing caching issues when uploading files that have the same filename.
accepted values: true
, false
default value: true
Hide the WP-Stateless settings panel.
accepted values: true
, false
default value: false
Hide the WP-Stateless setup assistant.
accepted values: true
, false
default value: false