Пример #1
0
 /**
  * This function generates your unique site's export feed
  *
  * @returns string URL to site's export feed
  */
 public function get_property_export_url()
 {
     if ($apikey = \WPP_F::get_api_key()) {
         if (empty($apikey)) {
             return __("There has been an error retreiving your API key.", "wpp");
         }
         // We have the API key, we need to build the url
         return admin_url('admin-ajax.php') . "?action=wpp_export_properties&api=" . $apikey;
     }
     //return __("There has been an error retreiving your API key.", "wpp");
     return false;
 }