Custom Fields Builder

Build User & Page Fields

Design custom field groups visually — assign them to users, roles, or admin pages. Generate ready-to-paste PHP for functions.php, plus download as a standalone plugin.

Custom Fields Builder

Design your field group — get drop-in PHP code for functions.php.

Group Configuration

Used as the section heading and as the function prefix

Fields

0 fields
No fields yet. Click "Add Field" to start building your group.

Location Rules

Show this group only for users with the selected roles

Generate

Adds an admin subpage with usage instructions and environment checks (nonce, capability, sanitization).
// Recent Groups
No groups generated yet

Export & Import

Generate code first, then use the actions below to copy, download, or sync your field group configuration across projects.

What You Get

Visual Field Builder

Drag fields into groups, pick from 8 types - text, textarea, number, email, URL, select, checkbox, image - and reorder with a single click. No code required until you hit Generate.

Smart Location Rules

Assign each group to All Users, specific Custom User Roles, an Admin Page, or a Custom Page. The generator wires up the right hooks - show_user_profile, edit_user_profile, or admin_init - auto!

Two Storage Modes

Per-user fields persist to user_meta; global admin-page fields persist to a single option row. The save handler validates nonces, checks capabilities, and sanitizes every value before it touches DB.

One-Click Code Export

**description**: Copy the generated PHP to your clipboard, download a standalone plugin file, or export the entire configuration as JSON for re-use across projects.

Secure by Default

Every generated form embeds a nonce, every save checks current_user_can against the configured capability, and every field uses the right sanitization function - sanitize_text_field etc.

Plugin or Theme Ready

Drop the file into your theme's functions.php for a quick feature, or install it as a standalone plugin when you want portability. The class auto-detects its location and loads assets accordingly.