Use the filter hook bp_members_signup_error_message
Try:
function signup_error_change( $error_message ) {
$error_message = str_replace('<div class="error">', '<span class="val-error">', $error_message);
$error_message = str_replace('</div>', '</span>', $error_message);
return $error_message;
}
add_filter('bp_members_signup_error_message', 'signup_error_change', 1, 1);
Related Posts:
- How to increase password requirements for registration [closed]
- Post-Registration, post-meta hook?
- How can I do customizations on login, registration and password recovery forms?
- update post meta using user_register hook not working
- How to hook into user registration process Before user registers
- Can user_register output the password?
- BuddyPress User Profile Menu
- How to hook in after user’s registration email has been sent?
- register_activation_hook not updating
- Custom Front End Registration – How Does the Key work in the Password Set Request?
- How to change the default mail when admin approuved an user?
- hooks for automatic approve user registration according to data in custom fields
- What hooks do I need to hook into to capture ever wp_user creation/change?
- ‘user_register’ hook – need to distinguish if created from wp admin panel
- add_action doesn’t work for my function
- Updating user meta data from external link, user not logged in
- add extra parameter in default hook in wordpress
- Which hook should I use for this scenario regarding the registration process and account/profile update?
- Problem in register activation hook and Copying folder
- The acction hook stop working if i move it from plugin file to theme’s functions.php file
- Does wp_login hook fire on user registration?
- Where can I find a list of WordPress hooks?
- Difference between after_setup_theme and init action hooks?
- get $post in init filter or action?
- Whats worth using add_action when we can simply use add_filter?
- add_action(‘wp_ajax_[action name]’, myfunction) problem
- Hook on trash post
- Adding onload to body
- What is the earliest possible hook for safely using `is_front_page`?
- BuddyPress: Allow only one email domain to register
- Send data to 3rd party api with wp_remote_post on wp_login
- How to customize the WP admin default help contents
- Hide gutenberg option blocks
- admin_post hook not called
- deactivated_plugin hook: get the name of the plugin
- Is there a hook for user activation (after they click the email confirm)?
- Setcookie works on admin but not front end
- Bulk action hook for admin pages which uses WP_List_Table
- How to pass arguments to add_action() [duplicate]
- WP Admin Bar frontend issue with dashicon deregister
- Showing the user’s username in registration email or activation page with BuddyPress [closed]
- I don’t understand why I shoud use lostpassword_url hook?
- Registration and Profile custom field
- How to get the ID of the currently logged in user?
- How to get session token of current user in wp_login hook?
- Can I remove WooCommerce main content hook?
- Hook any php file into the wordpress api
- WP CLI Get all Enqueued Scripts and Styles
- Delay an action until current action is completed
- How to properly setup an activation hook
- How to remove scripts/style added to customize_controls_enqueue_scripts hook by current active theme
- Help to change the text for new website notification (wpmu_welcome_notification)
- How to remove query string from current page URL?
- Which hook should I use to capture $_POST(‘password’) via profile update and password reset
- Plugins rewrite rules the right way
- Strange behaviour with add_{$meta_type}_metadata | add_post_metadata filter
- Is there a hook that fires when a row of wp_sitemeta table is updated?
- Add nofollow to custom widget posts
- Change Password Confirmed Email Text
- Register form: add custom field BEFORE default fields
- Lock user information once fields have been filled in
- save_post hook to add terms getting deleted when using bulk edit
- Add Different Actions To Different Page’s wp_footer
- Getting the post ID in parse_query
- Remove genesis_404 hook from genesis_loop [closed]
- Neccessary to call add_submenu_page and add_menu_page from admin_menu hook?
- Adding custom Bulk Actions
- how to remove header from registration page? [closed]
- How to debug wordpress hooked functions?
- “Intercept” enqueing of 3rd party’s JS file
- How to call do_action() to pass arguments to hooked functions that take different number of args?
- Is it likely that do_action will have unexpected results?
- How to export category name and category link in wordpress json
- Error later wordpress 5.3.2 update. Please help
- How to abort a save operation with a WordPress hook?
- is_page not triggering
- admin_post_(action) hook create console log error
- Check if front page within function passed to action
- Hook after creating a post and retrieve infos from this post immediatly
- $new_pass always returns null – password_reset hook
- How to resolve 500 error in post listing page?
- Object oriented programming, add_action in constructor not firing
- Get new (not old) post inside transition_post_status hook
- How to Show Different Information to your authors/contributers
- Cannot override hooks.php
- Removing action from template class
- Remove “enqueued” script from array
- Retrieve New user’s ID
- theme functions (hooks)
- Function is Missing an Action Hook
- frontend show edit profile with selected custom options
- How to access variables in the function where apply_filters() is called?
- PHP Notice: wp_enqueue_script was called incorrectly. Scripts and styles should not be registered
- How to add action in wordpress custom plugin?
- getSaveContent.extraProps hook for core/post-title doesn’t add new attributes on to the frontend
- WP: Override/update the_content from database with the publicly echo the_content
- What is the equivalent hook for both admin_head() and wp_head() combined, if any?
- Change password reqts with NO plugin without breaking resetpass link?
- Search WordPress Hook for completed Elementor Update
- How to filter the URL of thumbnail size in the Media Grid and admin pages