Variables Not Working
-
WP Code is not detecting my variables after the latest update this morning.
WP Code Short code
[wpcode id=”##” env=”PROD” lang=”zh-tw”]
PHP Code – Within the WP Code Element
if ($lang == ”){
$url = ‘/wp-json/form/v1/html/form/asia/’.$env.’/’;
}else{
$url = ‘/wp-json/form/v1/html/form/asia/’.$lang.’/’.$env.’/’;$lang and $env are both returning blank, where before the update they were grabbing the value from the shortcode insert.
WP Code Version 2.2.4
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Variables Not Working’ is closed to new replies.