-
Marc Luther Capulong started the topic Enqueue styles and scripts to profile edit page in the forum How-to & Troubleshooting 8 years ago
Hi,
I want to add custom styles and scripts only when the user is at the profile edit page. Is there a way to check if you’re currently accessing the profile edit page?
For example:
bp_is_profile_edit_page()
-
Marc Luther Capulong replied to the topic Get all xprofile select field options in the forum How-to & Troubleshooting 8 years ago
Nevermind, found a way using this function
xprofile_get_field_id_from_name( $field_name )
Thanks!
-
Marc Luther Capulong's profile was updated 8 years ago
@mlcapulong
Active 1 year, 8 months ago