內容簡介
你是否曾經想要在不登入的情況下檢查你的網站的 WordPress 設置呢?
WP-AJAX-Audit 是一個簡單的外掛,它允許你從遠程服務器發送 AJAX 請求,以獲取有關你的網站的信息。快速查找核心設置、已安裝的外掛/佈景主題等等。
發送請求
安裝後,瀏覽至「工具」>「WP AJAX Audit」,以找到你的訪問密鑰,並生成一個範例腳本。
該請求必須使用Post參數進行(一個被設置為「wp_ajax_audit」的「action」和「wp_ajax_audit_access_key」)
這是一個範例:
如果成功,$result將是wp_load_alloptions()的json編碼版本。
請注意,你仍需要「反序列化(json_decode($result))」以獲取數據的數組。
外掛標籤
開發者團隊
原文外掛簡介
Ever want to check the WordPress settings of your site without logging in?
WP-AJAX-Audit is a simple plugin that allows you to send an AJAX request (from a remote server) to retrieve information about your site. Quickly find things like core settings, plugins/themes installed, and much more.
Sending The Request
After installing, browse to Tools > WP AJAX Audit to find your access key, and to generate an example script.
The request must be made with Post parameters (An “action” which is set to “wp_ajax_audit” and the “wp_ajax_audit_access_key”)
Here is an example:
If successful, $result is a json encoded version of wp_load_alloptions().
Note, you’ll still need to ‘unserialize(json_decode($result))’ to get the array of data.
