LLMS_REST_Webhook_Data::get_delete_link()
Retrieve an admin nonce url for deleting an API key.
Return Return
(string)
Source Source
File: libraries/lifterlms-rest/includes/abstracts/class-llms-rest-webhook-data.php
public function get_delete_link() { return add_query_arg( array( 'section' => 'webhooks', 'delete-webhook' => $this->get( 'id' ), 'delete-webhook-nonce' => wp_create_nonce( 'delete' ), ), LLMS_REST_API()->keys()->get_admin_url() ); }
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
Version | Description |
---|---|
1.0.0-beta.1 | Introduced. |