How to add custom fields to your registration forms

Estimated reading: 1 minute

Developers can add custom fields can to the registration forms of Organization Toolkit using the following action hooks:

  • org_toolkit_regform_profile_fields_public
  • org_toolkit_regform_profile_fields_admin

The example below shows how a new field called “Organization Sector” can be enabled:


					add_filter( 'org_toolkit_regform_profile_fields_public', 'mytheme_toolkit_regform_profile_fields', 10, 1 );
add_filter( 'org_toolkit_regform_profile_fields_admin', 'mytheme_toolkit_regform_profile_fields', 10, 1 );

function mytheme_toolkit_regform_profile_fields($fields) {

    $fields["org_sector"] = "Organization Sector";

    return $fields;


Once added, you’ll see the option to show or hide this field in your registration forms:

Added custom field

If enabled, this will appear on your registration forms for registrants to populate:

Custom field on form

Any information captured via these fields is available to view and edit via the user’s profile:

Admin view of custom fields

Leave a Comment

Share this Doc