UPDATE SOLVED
I change my code to wp_insert_user beside bp_core_user_signup
$user_id = wp_insert_user(array(
'user_login' => $user_login,
'user_pass' => wp_hash_password( $email ),
'first_name' => $first_name,
'last_name' => $last_name,
'display_name' => $first_name . ' ' . $last_name,
'user_email' => $email,
'user_nicename' => $first_name
Related Posts:
- Page is loading after submit before the file is processed
- Export data as CSV in back end with proper HTTP headers
- Using a database view = evil incarnate?
- Sample — test — data for large WordPress install
- Creating a Wordpess Plugin that writes data to a csv file. The data doesn’t show in the csv file?
- How do I update a field of a meta box?
- How to export post 2 posts WordPress plugin data [closed]
- Importing CSV into database table not working?
- How to export post meta with images in wordpress
- Cleaning a filename after image sideloading a url that contains `%20`
- Workflow for new importer plugin – your advices?
- Import images remotly run through timeout error
- best way to upload a large file to wordpress using wp all import
- Why is that only the first row getting inserted into Mysql table when i import csv file on backend custom plugin?
- WordPress custom url without using any of the custom tags given
- Create CSV for import from File directories?
- Programmatically creating posts based on external JSON feed (asynchronously)
- Why is there a bunch of WordPress HTML code in my browser CSV download?
- functions won’t fire after I converted my code from procedural code to OOP
- Custom non-template page on front end fails to render
- Add custom parameter for custom user role
- Shortcode content is not showing. Only the [shortcode-tag] is showing
- Post is uncatagorized in publish_post action
- get_queried_object_id combined with wp_redirect gets wrong id
- Stuck on a 504 error
- When does global/main code of plug execute?
- Using WordPress Boilerplate (WPBP) for WP Multisite Plugin
- How to prevent wp_insert_post from creating a new post every second?
- Error Connecting to Database WHEN Installing WordPress on XAMPP [Tried All the Usual Stuff] (Pics Included)
- WordPress Filesystem create CSS-File – get Shortcode ID for Name
- WordPress5.2.3: Better File Download Plugin validation issue
- How do I make secure API calls from my WordPress plugin?
- esc_attr() on hard coded string
- How do I ensure I can loop through every enqueued script and CSS?
- Gutenberg component in a plugin admin
- WordPress All-Import to ATUM Stock Management
- Creating a return url for getting data from external api
- Always hide a page from the menu
- WordPress discards PNG file when uploading plugin file
- Hook for validating and rejecting frontend image upload
- What is the source of the $post_id in a hook argument?
- WordPress Fatal error: Uncaught Error: Call to undefined function dbDelta()
- Import Instagram post as WordPress post
- Custom Admin Plugin – Injecting repeatable select fields (add, remove) into an Ordered List
- Does hooking into a plugin action / filter override the plugin’s function for that hook?
- Overriding the template files using a plugin for all themes
- Nested Hooks with do_action for performance reasons – safe/necessary?
- Counter not working correctly
- Generate Static Page to Show Search Results/Detail for API
- User meta query using Wildcard
- How do I use a plugin to swap out the template file for a custom post type?
- WordPress with React: Saving and Using Data Collected with fetch
- use a (Polymer) web component within a plugin (or theme)?
- Custom Post not Deleting on Uninstall
- Scripts/styles not loading on cloned WP Site when logged in
- how to add security questions on wp-registration page and validate it
- Multiple instances of $opt_name in redux framework
- Don’t print customizer styles when no setting has been used
- Initializing rest endpoint issue
- Using AJAX to submit and return data inside the WordPress Plugin Boiler Plate framework
- Append php file to footer
- Integrate separate web app inside wordpress [closed]
- How to avoid conflict if a plugin already have included open library?
- Can’t get wpColorPicker to work in a widget
- WordPress OOP get current user question?
- Plugin Activation Causes wp_register errors
- Load custom translation in custom plugin fails
- Add quick edit functionnality to plugin table
- How to filter an action inside class in MemberPress plugin?
- AJAX call of function containing javascript which is not loaded (Plugin development)
- XMLHttpRequest to open PHP file responds with Missing Page
- Including content into an add_shortcode() function
- Get the current post/page URL with plain permalinks
- Hide / show settings field based on other field’s value
- How to integrate plugins into block editor
- Group By in a Metaquery
- Pre-populated WooCommerce checkout fields: dropdown fields issue
- Using the same class across multiple functions
- Hide post by ‘post_category’
- jQuery dependent script ignores $in_footer bool and doesn’t work in header
- Woocommerce Product finder feature on home page
- How can I measure CPU and RAM used by my theme or plugin
- How do I show the HTML descrption in wordpress photo gallery for my individual gallery pages?
- want to confirm popup with “Yes” and “No” button when user click on add to cart
- Javascript scroll eventHandler only working when I’m logged in in WordPress
- How can I import a BlogML file into my WordPress site?
- Problem in plugin debuging in wordpress
- WordPress Iframe for blog image
- do I need to sanitize a shortcode’s function input?
- Email content as comment
- How to remove the WooCommerce Product->Category thumbnail from admin [closed]
- WordPress use template
- How to add admin.php to WP Admin Menu Link
- Is it possible to replace MySQL with JSON files for WordPress
- WordPress Plugin Boilerplate – add actions and/or filters based on user’s role
- WP Query date_query with several date range
- Adding body class in author page for custom role
- How to save multiple values in custom post type from front end to back end
- Add custom html classes to gutenberg wrapper
- Registration Forms