Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions src/ConvertKit_API.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,8 @@ private function create_log(string $message)
/**
* Gets the current account
*
* @see https://developers.convertkit.com/#account
*
* @return false|mixed
*/
public function get_account()
Expand All @@ -139,6 +141,8 @@ public function get_account()
*
* @since 1.0.0
*
* @see https://developers.convertkit.com/#forms
*
* @return false|mixed
*/
public function get_forms()
Expand All @@ -151,6 +155,8 @@ public function get_forms()
*
* @since 1.0.0
*
* @see https://developers.convertkit.com/#forms
*
* @return false|mixed
*/
public function get_landing_pages()
Expand All @@ -168,6 +174,8 @@ public function get_landing_pages()
*
* @throws \InvalidArgumentException If the provided arguments are not of the expected type.
*
* @see https://developers.convertkit.com/#add-subscriber-to-a-form
*
* @return false|object
*/
public function form_subscribe(int $form_id, array $options)
Expand Down Expand Up @@ -654,6 +662,8 @@ public function get_resources(string $resource)
*
* @throws \InvalidArgumentException If the email address is not a valid email format.
*
* @see https://developers.convertkit.com/#list-subscribers
*
* @return false|integer
*/
public function get_subscriber_id(string $email_address)
Expand Down