We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3148ae5 commit 18e25fbCopy full SHA for 18e25fb
src/php/inc/helpers/generic.php
@@ -7,8 +7,9 @@
7
* Define Globals for within Theme.
8
*/
9
function define_theme_globals() {
10
+ // Define your own site-specific environment variables here.
11
// phpcs:ignore
- define( 'GOOGLE_API_KEY', $_SERVER['GOOGLE_API_KEY'] ?? '' );
12
+ define( 'CUSTOM_ENVIRONMENT_VARIABLE', $_SERVER['CUSTOM_ENVIRONMENT_VARIABLE'] ?? '' );
13
}
14
add_filter( 'init', 'define_theme_globals' );
15
0 commit comments