Skip Navigation

[Waiting for user confirmation] Custom Fields on User – what actions fire on WP admin user-edit_php page?

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 10:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Kolkata (GMT+05:30)

This topic contains 1 reply, has 1 voice.

Last updated by Minesh 5 days, 16 hours ago.

Assisted by: Minesh.

Author
Posts
#2792205

Tell us what you are trying to do?
I am trying to build an integration with an external service. When a custom field added to a User entity from Toolset is updated from the WP Admin Dashboard (user-edit.php page), I need to have the change be sent to an external service. To do this, I am trying to use the profile_update hook by adding an action there, but this does not appear to be triggered when custom fields (wpcf-xxxxxx) introduced by Toolset, are updated from this page. If I update them programmatically on other areas of the site, updated_user_meta fires as expected.

I've tried hooking into the following with no success for these custom user fields (wpcf-xxxx):
profile_update, updated_user_meta, personal_options_update, edit_user_profile_update

Any thoughts? Is there a toolset hook that is used instead that I should be adding an action to?

Many thanks!
-Mark

#2792213

Minesh
Supporter

Languages: English (English )

Timezone: Asia/Kolkata (GMT+05:30)

Hello. Thank you for contacting the Toolset support.

Toolset do not have any hooks related to backend edit profile page:

What if you try to use the hook "updated_meta_type_meta":
=> https://developer.wordpress.org/reference/hooks/updated_meta_type_meta/

Alternatively, check the following solution as well:
- https://wordpress.stackexchange.com/a/301247