
前言介紹
- 這款 WordPress 外掛「WP Utility Script Runner」是 2017-08-18 上架。
- 目前有 90 個安裝啟用數。
- 上一次更新是 2018-10-22,距離現在已有 2683 天。超過一年沒更新,安裝要確認版本是否可用。以及後續維護問題!
- 外掛最低要求 WordPress 4.6 以上版本才可以安裝。
- 有 1 人給過評分。
- 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。
外掛協作開發者
外掛標籤
cron | task | run-once | utilities | developers |
內容簡介
有時候你會遇到需要手動執行程式的情況。實際上的邏輯可能只是從查詢生成一個 CSV 檔,或者更改使用者的設定,甚至只是執行一行 SQL。然而在 WordPress 上這是一件困難的事情。
雖然有很多 hacky 的解決方案,但大多數都缺乏安全性,或只有開發人員能夠運行,或需要花費太長時間才能建立。這就是 WP Utility Script Runner 的用意所在。
利用這個外掛,你可以從一個簡單的 17 行範本開始,加入你自訂的程式碼,存儲到伺服器,經過幾分鐘後,即可擁有一個安全、完整功能且可以透過 WordPress 儀表板安全執行的工具。
不僅如此!透過添加幾行額外的程式碼,你的工具還可以擁有以下的功能:
- 接受使用者輸入
- 接受檔案輸入
- 在未來的日期和時間運行
- 定期運行
- 將大型任務拆分成多個更小的任務進行處理並保存狀態
- 創建報告和其他輸出檔案。
原文外掛簡介
Sometimes, you run into a situation where you just need to manually run a script. The actual logic might be as simple as generating a csv from a query, or changing a user’s settings, or even just running a single line of SQL. WordPress makes this difficult.
There are many hacky solutions to the problem, but most of them lack security or are too difficult for anyone but a developer to run or just take too long to build. That’s where we come in.
WP Utility Script Runner lets you start with a simple 17 line template, add in your custom code, save to the server, and in minutes you have a secure, fully featured utility, that you can safely run from the WordPress dashboard.
But that’s not all! With a few extra lines of code, your utility can:
Accept user input
Accept file input
Run at a future date and time
Run on a recurring schedule
Run large tasks by breaking them up into several smaller tasks, and saving state.
Create reports and other output files
各版本下載點
- 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
- 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「WP Utility Script Runner」來進行安裝。
(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。
延伸相關外掛(你可能也想知道)
暫無相關外掛推薦。
