Defining options with constants

What is needed: Simply Static Pro

Simply Static offers the ability to set constants in the wp-config.php instead of configuring the options manually from the settings page. While not all options are covered, we made sure you can set them specifically for communication with external services.

Config directory

define('SSP_CONFIG_DIR', '...' );

Deployment Provider

define('SSP_DEPLOYMENT_PROVIDER', '...' );

GitHub

define( 'SSP_GITHUB', [
	'github-personal-access-token' => '...',
	'github-user'                  => '...',
	'github-repository'            => '...',
	'github-branch'                => '...',
	'github-repository-visibility' => '...',
	'github-is-organization'       => '...',
] );

BunnyCDN

define( 'SSP_BUNNYCDN', [
	'cdn-api-key'      => '...',
	'cdn-pull-zone'    => '...',
	'cdn-storage-zone' => '...',
	'cdn-storage-host' => '...',
	'cdn-access-key'   => '...',
	'cdn-404-page'     => '...',
] );

Algolia

define( 'SSP_ALGOLIA', [
	'algolia-app-id'         => '...',
	'algolia-admin-api-key'  => '...',
	'algolia-index'          => '...',
	'algolia-search-api-key' => '...',
	'algolia-selector'       => '...',
	'cdn-404-page'           => '...',
] );