LLMS_REST_API_Key::get_delete_link()
Retrieve an admin nonce url for deleting an API key.
Return Return
(string)
Source Source
File: libraries/lifterlms-rest/includes/models/class-llms-rest-api-key.php
public function get_delete_link() { return add_query_arg( array( 'revoke-key' => $this->get( 'id' ), 'key-revoke-nonce' => wp_create_nonce( 'revoke' ), ), 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. |