LLMS_REST_API_Key::get_delete_link()

Retrieve an admin nonce url for deleting an API key.


Return Return

(string)


Top ↑

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()
		);

	}


Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0-beta.1 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.