Hi team, I am trying to install a code snippet in my experthive theme through code snippets.
In the past to access the user settings screen I had to put the following:
add_filter( ‘hivepress/v1/forms/user_update’,
I need to know what text string I should put to access the screens of:
… /submit-listing/profile/
and this other screen…
… /submit-listing/details/
Best regards
ihor
August 30, 2022, 7:26pm
3
Hi,
The mentioned “hivepress/v1/forms/user_update” hook is related to forms, not templates, if you want to customize templates then hivepress/v1/templates/listing_submit_profile_page
and “…/listing_submit_details_page” hooks should be used. If you’re familiar with customizations please try following these tutorials: Customizing Templates I HivePress Developer Docs - YouTube and Customizing Forms I HivePress Developer Docs - YouTube
Also, you can consider hiring a developer for custom work https://fwd.cx/hLhc73mQCD9R
Thank you Ihor, but I don’t want to modify templates, as I asked you, I want to customize forms.
Example hivepress/v1/forms/user_update I access the user settings form.
I need to know what the route is for:
… /submit-listing/profile/ and this one…
… /submit-listing/details/
ihor
August 31, 2022, 8:38pm
6
Sorry for the confusion, try using these hooks:
hivepress/v1/forms/listing_submit
hivepress/v1/forms/user_update_profile
Please note that the added fields will probably require saving values somewhere, validation etc. so this may require further customizations.
system
Closed
September 30, 2022, 8:39pm
7
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.