atshift User Profile Fields 1.3.1 has 13 actions and 34 filters, read directly from its source code on Nov 19, 2026. The list updates automatically when a new version is released.
How to use these hooks
Actions let you run your own code at a specific moment. Filters let you change a value before the plugin uses it. Put your code in a child theme's functions.php or a code-snippets plugin, never in the plugin's own files, because updates overwrite them.
// Run your own code when atshift User Profile Fields fires an action
add_action( 'atshift_upf_save_profile_field', function( $user_id, $field, $value, $screen ) {
// Your code runs here.
}, 10, 4 );
// Change a value atshift User Profile Fields is about to use
add_filter( 'atshift_upf_admin_field_types', function( $field_types ) {
// Change $field_types here.
return $field_types;
}, 10, 1 );Parts of a name in {braces} are filled in at runtime (for example a post type or field ID). Choose Example on any hook for a ready-to-edit snippet.
All hooks
-
/** * Filters field types available in the field editor. */ apply_filters( 'atshift_upf_admin_field_types', $this->field_types ); -
/** * Filters one field definition before it is saved from the editor. */ apply_filters( 'atshift_upf_admin_sanitize_field', $field, $submitted_field, $type ); -
/** * Fires after WordPress saves one core profile field submitted through this * editor. */ do_action( 'atshift_upf_save_profile_field', $user_id, $field, $value, $screen ); -
/** * Filters field type groups shown in the editor select menu. */ apply_filters( 'atshift_upf_admin_field_type_groups', $groups ); -
/** * Allows add-ons to render a custom field row in the field editor. */ apply_filters( 'atshift_upf_admin_render_field_item', false, $field, $edit_field, $name_prefix, $field_tree ); -
/** * Filters whether a WordPress core profile field can be replaced safely. */ apply_filters( 'atshift_upf_core_replacement_supported', $supported, $type, $screen, $field ); -
/** * Fires after the base plugin deletes its settings and, optionally, values. */ do_action( 'atshift_upf_deleted_plugin_data', $delete_values, $delete_addon_data ); -
/** * Filters the field-set export payload before it is encoded as JSON. */ apply_filters( 'atshift_upf_export_payload', $payload ); -
/** * Filters whether a field is available in a profile rendering, validation, or * save context. */ apply_filters( 'atshift_upf_field_matches_profile_context', $allowed, $field, $context, $screen, $user ); -
/** * Filters enabled field definitions returned for profile handling. */ apply_filters( 'atshift_upf_get_enabled_fields', self::get_fields() ); -
/** * Filters field definitions returned by the base plugin. */ apply_filters( 'atshift_upf_get_fields', $fields ); -
/** * Filters plugin settings returned by the base plugin. */ apply_filters( 'atshift_upf_get_settings', $settings, $defaults ); -
/** * Filters field types accepted by field-set imports. */ apply_filters( 'atshift_upf_import_allowed_field_types', $types ); -
/** * Fires after a field-set import replaces the base plugin configuration. */ do_action( 'atshift_upf_imported_payload', $payload, $fields, $settings ); -
/** * Filters initial states used on the Add New User screen. */ apply_filters( 'atshift_upf_initial_state_defaults', $defaults ); -
/** * Fires after WordPress has loaded all active plugins and the base plugin is * ready for add-ons to register their integrations. */ do_action( 'atshift_upf_loaded', $this ); -
/** * Filters the capability used for plugin administration. */ apply_filters( 'atshift_upf_manage_capability', $capability, $area ); -
/** * Filters whether an owner-facing form integration, such as atshift Members, * is active. */ apply_filters( 'atshift_upf_owner_form_consumer_active', function_exists( 'atshift_members' ) ); -
/** * Filters the public preset API descriptor. */ apply_filters( 'atshift_upf_preset_api', $api ); -
/** * Fires after a preset has been merged into the base configuration. */ do_action( 'atshift_upf_preset_applied', $receipt, $payload, $before, array( 'fields' => $merge['fields'], 'settings' => $settings ) ); -
/** * Filters fields available for a WordPress profile screen before empty * structure groups and conditional branches are pruned. */ apply_filters( 'atshift_upf_profile_fields_for_screen', $filtered, $screen ); -
/** * Fires inside a field settings table before the action row. */ do_action( 'atshift_upf_render_field_settings', $field, $name_prefix, $current_type ); -
/** * Lets add-ons render custom profile inputs before the base renderer falls * back to the built-in field types. */ apply_filters( 'atshift_upf_render_profile_input', false, $field, $name, $value, $user ); -
/** * Filters one imported field definition after base sanitization. */ apply_filters( 'atshift_upf_sanitize_import_field', $field, $raw_field ); -
/** * Lets add-ons sanitize values for custom profile input types. */ apply_filters( 'atshift_upf_sanitize_profile_value', null, $value, $field, absint( $user_id ) ); -
/** * Fires after the base deletion options are rendered. */ do_action( 'atshift_upf_tools_delete_options' ); -
/** * Filters the deletion result shown on the Tools screen. */ apply_filters( 'atshift_upf_tools_delete_success_message', $message, $delete_values, $delete_addon_data ); -
/** * Filters plugin-owned user metadata keys before destructive cleanup. */ apply_filters( 'atshift_upf_tools_delete_user_meta_keys', $meta_keys, $delete_values, $delete_addon_data ); -
/** * Fires after the built-in Tools panels are rendered. */ do_action( 'atshift_upf_tools_tab_panels', $active_tab ); -
/** * Fires after the base plugin validates one submitted profile field. */ do_action( 'atshift_upf_validate_profile_field', $errors, $field, $value, $update, $user ); -
apply_filters( 'atshift_upf_passkeys_field_available', false ); -
apply_filters( 'atshift_upf_owner_field_adapters', array() ); -
do_action( 'atshift_upf_public_profile_saved', $user_id, array_keys( $values ) ); -
do_action( 'atshift_upf_validate_public_profile_field', $errors, $field, $value ); -
atshift_freeform_login_passkey_profile_available
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'atshift_freeform_login_passkey_profile_available', false ); -
atshift_freeform_login_passkeys_available
filter Used by 2 plugins → Copy link Customise this hookapply_filters( 'atshift_freeform_login_passkeys_available', false ); -
apply_filters( 'atshift_upf_access_areas', $areas ); -
apply_filters( 'atshift_upf_admin_capability', $capability, $area ); -
apply_filters( 'atshift_upf_admin_field_management_title_suffix', '' ); -
apply_filters( 'atshift_upf_preset_extension_handlers', array(), $this->get_context() ); -
apply_filters( 'atshift_upf_preset_providers', array(), $this->get_context() ); -
apply_filters( 'atshift_upf_profile_label_note', '', $field, $user ); -
do_action( 'atshift_upf_render_passkeys_field', $user, $field, $user instanceof WP_User ? 'edit' : 'new' ); -
apply_filters( 'atshift_upf_tools_active_tab', 'export' ); -
apply_filters( 'editable_roles', wp_roles()->roles ); -
apply_filters( 'user_profile_picture_description', $description, $avatar_user );
Generated from atshift User Profile Fields's GPL-licensed source code. Hooks inside bundled third-party libraries are not listed.
Done for you
Rather have it built for you?
Tell us what should change and we’ll write and test the code using these hooks.
Custom hook snippet
from $49
A small, update-safe change built on the plugin’s own hooks.
- Code written against the plugin’s actions and filters
- Tested on a staging copy of your site
- Install instructions included
Typical turnaround: 2–3 business days
Choose thisPlugin customisation
from $149
New features or changed behaviour, without editing the plugin’s files.
- Built as a companion plugin, so updates never wipe it
- Exact quote before we start
- Tested on staging, then deployed
Typical turnaround: 3–7 business days
Choose thisNot sure which fits? Describe what you need and we’ll suggest the simplest option.
Can't find the right hook?
We can build the customisation for you. Describe what you need: