[WordPress] 外掛分享: JSON API Delete User

首頁外掛目錄 › JSON API Delete User
10+
安裝啟用
尚無評分
3594 天前
最後更新
問題解決
WordPress 3.0.1+ v1.0 上架:2016-06-15

內容簡介

JSON API DELETE USER 外掛是在 JSON API Plugin 中增加一個新控制器,使用者可以刪除帶有 meta data 的使用者。

文件說明

您需要創建一個 nonce ,才能刪除使用者,可以透過 http://localhost/api/get_nonce/?controller=user&method=delete_user_with_meta 呼叫並獲得。

您可以使用 ‘nonce’ 值來刪除使用者。

= 方法: delete_user_with_meta =

您可以在 example.php 檔案中查找範例,以了解如何透過 curl 刪除使用者。

http://localhost/wordpress/api/user/[email protected]

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「JSON API Delete User」→ 直接安裝(推薦)

原文外掛簡介

JSON API DELETE USER extends the JSON API Plugin with a new Controller to delete user with meta data.
Documentation

You need to create nonce to delete user, nonce can be created by calling http://localhost/api/get_nonce/?controller=user&method=delete_user_with_meta

You can then use ‘nonce’ value to delete user.

= Method: delete_user_with_meta=
You can find example.php file to understand delete user api call via curl.
http://localhost/wordpress/api/user/[email protected]

文章
Filter
Apply Filters
Mastodon