Title: Edit Custom Fields
Author: Jay
Published: <strong>2013 年 7 月 16 日</strong>
Last modified: 2023 年 1 月 5 日

---

搜索插件

**该插件尚未通过WordPress的最新3个主要版本进行测试**。 当与较新版本的WordPress一起
使用时，可能不再受到维护或支持，并且可能会存在兼容性问题。

![](https://s.w.org/plugins/geopattern-icon/edit-custom-fields.svg)

# Edit Custom Fields

 作者：[Jay](https://profiles.wordpress.org/topdownjimmy/)

[下载](https://downloads.wordpress.org/plugin/edit-custom-fields.0.1.10.zip)

 * [详情](https://cn.wordpress.org/plugins/edit-custom-fields/#description)
 * [评价](https://cn.wordpress.org/plugins/edit-custom-fields/#reviews)
 *  [安装](https://cn.wordpress.org/plugins/edit-custom-fields/#installation)
 * [开发进展](https://cn.wordpress.org/plugins/edit-custom-fields/#developers)

 [支持](https://wordpress.org/support/plugin/edit-custom-fields/)

## 描述

This plugin offers a simple interface to edit or delete any Custom Field names/keys
you may have created in the post/page editor.

Deleting a Custom Field _also_ deletes the associated content, so use with caution!

This is not meant to be a powerful plugin in the vein of [Advanced Custom Fields](http://www.advancedcustomfields.com/).

Only users with role Editor and above have access to this plugin.

## 安装

 1. Upload `edit-custom-fields.php` to the `/wp-content/plugins/` directory
 2. Activate the plugin through the ‘Plugins’ menu in WordPress

## 评价

![](https://secure.gravatar.com/avatar/a9f5fb5f940149cad21e94e7e77e3b937ca77abfda0f5da7d70f85f0af8084cd?
s=60&d=retro&r=g)

### 󠀁[Very useful](https://wordpress.org/support/topic/very-useful-3706/)󠁿

 [KS](https://profiles.wordpress.org/karl19/) 2026 年 1 月 21 日

Taking over a site from another developer, there were a lot of old custom fields
that were no longer in use after I rebuilt it, which made it hard to get an overview
when adding new ones. This plugin worked very well – thanks!Worked fine for me on
a WordPress version 6.9 site.

![](https://secure.gravatar.com/avatar/142c097655d9e42a9c366d4ed99ec74de240a56eeda69866b973a1b9f5c6dc5e?
s=60&d=retro&r=g)

### 󠀁[Still works on WordPress 6.8.1](https://wordpress.org/support/topic/still-works-on-wordpress-6-8-1/)󠁿

 [cXD4931](https://profiles.wordpress.org/xbor17/) 2025 年 5 月 30 日

Installed and run on a WordPress working on version 6.8.1 with Php version 8.2 without
major issues. The plugin moved fast and did the job in seconds. Highly recommended!

![](https://secure.gravatar.com/avatar/b1829b6b7f099d725c4f8c5c9fdc42d45587d86341e82e614f05f6719a981522?
s=60&d=retro&r=g)

### 󠀁[Good and easy](https://wordpress.org/support/topic/good-and-easy-70/)󠁿

 [phoenix36](https://profiles.wordpress.org/phoenix36/) 2025 年 1 月 14 日

Very good and easy to use. Does what it should. Very nice, neatly under Tools menu!

![](https://secure.gravatar.com/avatar/5999123009d2c98889f3170c93c4cd60b40ce8d7c0eccc06f46e24e27bf82e06?
s=60&d=retro&r=g)

### 󠀁[Does the job wonderfully!](https://wordpress.org/support/topic/does-the-job-wonderfully-3/)󠁿

 [Manou Allou](https://profiles.wordpress.org/manouallou/) 2024 年 4 月 30 日

Although the plugin hasn’t been tested with the current WordPress release, it did
the job for me. It cleaned up several unused CPT orphans and cleared them from my
website’s database without causing any problems. Hope the developer will test and
update the plugin with the current version of WordPress so it feels a bit more secure
to use.

![](https://secure.gravatar.com/avatar/b1e4abc7b69392cd2a36addb6ff40dfbc270ae8d841ed5dc118ef0a922801038?
s=60&d=retro&r=g)

### 󠀁[only CLEARS fields but does not DELETE them, as the description make you believe](https://wordpress.org/support/topic/only-clears-fields-but-does-not-delete-them-as-the-description-make-you-believe/)󠁿

 [volkerforster](https://profiles.wordpress.org/volkerforster/) 2023 年 10 月 15
日 3 回复

Not impressed. Description says “This plugin offers a simple interface to edit or
delete any Custom Field names/keys you may have created in the post/page editor.
Deleting a Custom Field also deletes the associated content, so use with caution!”
It only deleted the CONTENT from a custom field, but it definitely does NOT delete
the field.I have so much meta-garbage collected over the years, and there is obviously
no way to clean this mess up.

![](https://secure.gravatar.com/avatar/8ffbb1e2a291a6d97f18d0d1f1d537cbda31f17489293ead6986a21514714af6?
s=60&d=retro&r=g)

### 󠀁[I find this plugin useful](https://wordpress.org/support/topic/i-find-this-plugin-useful/)󠁿

 [Alex 六十 Karpov](https://profiles.wordpress.org/justsmilepeople/) 2023 年 2 月
2 日

Time saver! Thank you

 [ 阅读所有16条评价 ](https://wordpress.org/support/plugin/edit-custom-fields/reviews/)

## 贡献者及开发者

「Edit Custom Fields」是开源软件。 以下人员对此插件做出了贡献。

贡献者

 *   [ Jay ](https://profiles.wordpress.org/topdownjimmy/)

[帮助将「Edit Custom Fields」翻译成简体中文。](https://translate.wordpress.org/projects/wp-plugins/edit-custom-fields)

### 对开发感兴趣吗?

您可以[浏览代码](https://plugins.trac.wordpress.org/browser/edit-custom-fields/)，
查看[SVN仓库](https://plugins.svn.wordpress.org/edit-custom-fields/)，或通过[RSS](https://plugins.trac.wordpress.org/log/edit-custom-fields/?limit=100&mode=stop_on_copy&format=rss)
订阅[开发日志](https://plugins.trac.wordpress.org/log/edit-custom-fields/)。

## 更新日志

#### 0.1.10

 * Update text domain

#### 0.1.9

 * More sanitiziation and hardening

#### 0.1.8

 * Use wp_verify_nonce to protect against CSRF
 * Use sprintf for translations.

#### 0.1.7

 * Use $wpdb->prepare

#### 0.1.6

 * Add nonce checks

#### 0.1.4

 * Fixed regression from 0.1.2 onward that broke plugin when custom field key was
   
   used in multiple posts.

#### 0.1.3

 * Removed broken function that broke 0.1.2
 * Fixed some Markdown formatting errors in readme.

#### 0.1.2

 * DUH: Allowed for db table prefixes other than `wp_` :self-flagellates:
 * Embarrasing typo on “Confirm Custom Field Deleteion” screen :S
 * Querying by ID now rather than key so that keys with spaces work smh

#### 0.1.1

Fixed the stable tag in the readme.txt file.

#### 0.1

Initial release.

## 额外信息

 *  版本 **0.1.10**
 *  最后更新：**3 年前**
 *  活跃安装数量 **2,000+**
 *  WordPress 版本 ** 3.5.1 或更高版本 **
 *  已测试的最高版本为 **6.1.10**
 *  语言
 * [English (US)](https://wordpress.org/plugins/edit-custom-fields/)
 * 标签
 * [admin](https://cn.wordpress.org/plugins/tags/admin/)[custom field](https://cn.wordpress.org/plugins/tags/custom-field/)
   [custom fields](https://cn.wordpress.org/plugins/tags/custom-fields/)[customfield](https://cn.wordpress.org/plugins/tags/customfield/)
   [customfields](https://cn.wordpress.org/plugins/tags/customfields/)
 *  [高级视图](https://cn.wordpress.org/plugins/edit-custom-fields/advanced/)

## 评级

 4.8 星（最高 5 星）。

 *  [  14 条 5 星评价     ](https://wordpress.org/support/plugin/edit-custom-fields/reviews/?filter=5)
 *  [  1 条 4 星评价     ](https://wordpress.org/support/plugin/edit-custom-fields/reviews/?filter=4)
 *  [  0 条 3 星评价     ](https://wordpress.org/support/plugin/edit-custom-fields/reviews/?filter=3)
 *  [  1 条 2 星评价     ](https://wordpress.org/support/plugin/edit-custom-fields/reviews/?filter=2)
 *  [  0 条 1 星评价     ](https://wordpress.org/support/plugin/edit-custom-fields/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/edit-custom-fields/reviews/#new-post)

[查看全部评论](https://wordpress.org/support/plugin/edit-custom-fields/reviews/)

## 贡献者

 *   [ Jay ](https://profiles.wordpress.org/topdownjimmy/)

## 支持

有话要说吗？是否需要帮助？

 [查看支持论坛](https://wordpress.org/support/plugin/edit-custom-fields/)