public function InstapageCmsPluginLPAjaxLoaderController::shouldDecodeQuery in Instapage plugin 7.3
Same name and namespace in other branches
- 8.3 core/modules/lpAjaxLoader/InstapageCmsPluginLPAjaxLoaderController.php \InstapageCmsPluginLPAjaxLoaderController::shouldDecodeQuery()
Check if query should be decoded Query can contains b64 param and it needs to be decode to be used
Return value
bool
File
- core/
modules/ lpAjaxLoader/ InstapageCmsPluginLPAjaxLoaderController.php, line 38
Class
- InstapageCmsPluginLPAjaxLoaderController
- Class InstapageCmsPluginLPAjaxLoaderController
Code
public function shouldDecodeQuery() {
return (isset($_ENV['PANTHEON_ENVIRONMENT']) || isset($_ENV['WPENGINE_ACCOUNT']) || InstapageCmsPluginHelper::getMetadata('lpAjaxLoader', false)) && isset($_GET['b64']);
}