diff --git a/src/Plugins/AcfPro.php b/src/Plugins/AcfPro.php index 4b23bb7..c283f55 100644 --- a/src/Plugins/AcfPro.php +++ b/src/Plugins/AcfPro.php @@ -20,7 +20,6 @@ class AcfPro extends AbstractPlugin { public function getDownloadUrl() { $api_query = array( 'p' => 'pro', - 'a' => 'download', 'k' => getenv( 'ACF_PRO_KEY' ), ); @@ -29,7 +28,7 @@ public function getDownloadUrl() { $api_query['t'] = $this->version; } - $api_url = 'https://connect.advancedcustomfields.com/index.php'; + $api_url = 'https://connect.advancedcustomfields.com/v2/plugins/download'; return $api_url . '?' . http_build_query( $api_query, '', '&' ); }