You are here

public function InstapageCmsPluginWPConnector::getAjaxURL in Instapage plugin 8.3

Same name and namespace in other branches
  1. 7.3 core/connectors/InstapageCmsPluginWPConnector.php \InstapageCmsPluginWPConnector::getAjaxURL()

Gets the AJAX URL.

Return value

string AJAX URL.

File

core/connectors/InstapageCmsPluginWPConnector.php, line 324

Class

InstapageCmsPluginWPConnector
Class that utilizes native WordPress functions to perform actions like remote requests and DB operations.

Code

public function getAjaxURL() {
  return admin_url('admin-ajax.php') . '?action=instapage_ajax_call';
}