public function InstapageCmsPluginWPConnector::check404 in Instapage plugin 8.3
Same name and namespace in other branches
- 7.3 core/connectors/InstapageCmsPluginWPConnector.php \InstapageCmsPluginWPConnector::check404()
Checks (and displays) if a landing page marked as 404 should be displayed instead of normal CMS 404 page.
@uses InstapageCmsPluginWPConnector::checkPage()
File
- core/
connectors/ InstapageCmsPluginWPConnector.php, line 591
Class
- InstapageCmsPluginWPConnector
- Class that utilizes native WordPress functions to perform actions like remote requests and DB operations.
Code
public function check404() {
if (is_404()) {
$this
->checkPage('404');
return true;
}
return false;
}