[WordPress] 外掛分享: Block Profile Edits

首頁外掛目錄 › Block Profile Edits
WordPress 外掛 Block Profile Edits 的封面圖片
全新外掛
安裝啟用
尚無評分
6 天前
最後更新
問題解決
WordPress 5.8+ PHP 7.4+ v1.1.0 上架:2026-05-30

外掛標籤

開發者團隊

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

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Block Profile Edits」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Block Profile Edits lets administrators restrict specific user roles from editing their own profile fields. You can choose which roles and profile fields to restrict, and also show a custom message to restricted users.
This plugin was originally inspired to prevent users from unauthorized redistributing or reselling account access. A common problem with unwanted abuse of GPL themes/plugins. Sites using PDF-stampers to watermark ebooks will also benefit since users cannot change their personal information.
Features:

Choose user roles to restrict – Subscriber, Customer, Student, etc. (Administrators are exempt.)
Choose profile fields to lock – Name, Email, etc.
Display custom message – to restricted users, e.g. “Sorry this info cannot be changed.”
Frontend/Backend restriction – works anywhere account profile fields are shown.
Server-side enforcement – for WP-admin profile saves and WordPress user update APIs.
Clean, modular code – lightweight, minimalist, no site-slowdown.

Technical Notes:

Restriction only works on default WordPress profile fields. Extra fields added by plugins are not yet integrated, may be considered for future development.
Frontend behavior may vary depending the page template. Most cases appear as normal, fields are visually blocked (greyed out) and custom message is shown. In some cases, fields appear as editable but data won’t save when submitted.
Testing shortcode – add [treeflips_bpe_test_form] to any page to test frontend restrictions for logged-in users. Locked fields should render as read-only and display the restriction message.

延伸相關外掛

文章
Filter
Apply Filters
Mastodon