If you want to get a php variable if another is not present, without using the if ... then syntax, you can use this code
$some_variable = $optimal_variable ?? $alternative_variable;
a thoughtful use of digital
If you want to get a php variable if another is not present, without using the if ... then syntax, you can use this code
$some_variable = $optimal_variable ?? $alternative_variable;