Set your query var notify
to user
(if you want to send an email to the user only) or both
(if you want to send it to the user and the admin).
Within the plugin controller/User.php:165
calls wp_new_user_notification
with $_REQUEST['notify']
.
wp_new_user_notification
is (lucky you) a pluggable function. If you have your activation logic ready to use, you can overwrite this function and send a modified email to the user. You can overwrite it within a custom mu-plugin (must use plugin).
- Create (if not exists) a
mu-plugins
folder withinwp-content
- Create a
pluggable.php
file. All files withinmu-plugins
behave like plugins, but are auto-loaded. - Create your version of
wp_new_user_notification
If you don’t have an activation logic in hand, you can use the answer in the question @Emil described in his comment.
Related Posts:
- WP REST API only returning partial list of users
- WordPress JSON output
- Sending POST Request from server
- get WP-API by page id
- utf8 encoding in json rest api
- Implementing the wp json-rest api
- Displaying Content with WP Rest API
- How to Increase WordPress JSON API Speed?
- How can I cache WordPress Rest API Response
- Why aren’t tags and categories added in post request to WP Rest API
- body_class REST field in WP-API
- Submit comment via JSON from Android device
- How to convert and use JSON data from a remote WordPress server?
- Jetpack JSON API configure button not showing [closed]
- WordPress Theme/Plugin Information API Response to Text and Button
- Implementing URL JSON API Data into Website
- Intergrate JSON into wordpress
- How do I filter Child Posts by Parent Post ID for Custom Post types in WordPress REST API response?
- Rest WP_Error always return null
- Daily automatic update of stock quotes via REST API and Cronjob. Or is there a more sophisticated way?
- Why does “if statement” has to “die()”, otherwise wont work?
- Best way to make a JSON API from WordPress?
- Querying Posts Using JSON API
- How get JSON from external API on every page load if not existing in transient?
- Send PUT remote request with BuddyPress checkbox
- What is an Endpoint?
- How do you get the API key for Locu?
- WP Rest API – How to get featured image
- Send data to 3rd party api with wp_remote_post on wp_login
- How to get the attached gallery in the rest API?
- WP API : date_query parameter
- WordPress.org Support Forum API
- Authentication/API Questions
- Connect external web app to wordpress
- How to get all posts (in chunks) via XML-RPC?
- How to add a custom parameter to a WP API default route?
- Developing Themes with React/Angular
- Authentication for a mobile app connected via wp-rest api?
- curl POST work with user meta but not the custom user meta
- how to get nonce using json api
- Create post with REST API in php with file_get_contents
- How to Hit External REST POST API in WordPress? [closed]
- API getting null values with wp_remote_post
- Increase the page size of the WordPress REST API
- I am trying to use the Theme Customization API but I keep getting an error
- Options to get my custom post type metadata via the WordPress API
- Building custom API and using wp_get_nav_menu_items to get menu items. Only works when logged in, returns nothing when I’m not
- Extending WordPress REST API
- creating shortcode to pull json array
- Headless WordPress – Issue with plugin path
- Possible to use wordpress as publishing platform but programmatically inject content?
- How to avoid loading wp-load.php from external php scripts?
- POST request not going through?
- are there any initiatives to work wordpress as microservices?
- How can I send edits to my blog programmaticly?
- I want to retrieve all posts of a blog without username & password
- WordPress Google Calendar Oath 404
- WordPress as GraphQL client
- Fetch post block/field data as JSON with WordPress API
- How to save post with different languages and linked them with WPML?
- Add basic authentication of WordPress on any external PHP file?
- Store regex expression in WordPress DB using Options API
- cURL to install theme
- Best way to integrate contact us page with wordpress REST API [closed]
- PHP > Scheduled Tasks > Sending daily email with dynamic API variables
- How to disable WordPress blog folder
- WP List Table in custom post type
- Easiest way to call an External rest API?
- How to send messages when a customer is registered
- Return scheduled posts with WP REST API
- Save external API calls in WordPress
- How to add an endpoint for my custom post type? /wp-json/wp/v2/posts is working but it didn’t in the custom post
- Creating posts from API data, how to identify posts already imported?
- Soundcloud Smart Player
- Use WordPress user database in external php application
- Theme Customization API Changes not Saving
- New Twitter API and Twitter count + timeline doesn’t work anymore [closed]
- how to use nimble-API and Display data?
- Solution for processing lots of data with CRON/API, dealing with memory/timeout issues
- WordPress Woocommerce REST API JSON Error
- Post content in wp_remote_post
- woocommerce api echo out response
- Limit the number of external API calls per second
- WordPress API – Getting just post content
- Adding geographical information on a registration page
- How to use following API with WordPress?
- rest_cannot_create_user
- Working with a json feed & trying to figure out how best to import
- REST API get featured image source for custom post type
- I would like to retrive JSON value and display it in wordpress page or widget
- WordPress API only returning HTML
- Stop Vimeo video with javascript – inside a loop and using a modal window
- How to create REST Based JSON API(how to modify the code below)?
- Cannot get transient to work on shortcode, Moz API
- XML RPC -> Create User
- Get full page HTML for a non-public WordPress page
- WordPress SMS API integration without plugin
- get_body_params() is always empty in POST request
- XMLRPC: How to retrieve possible custom fields for a new post?
- Forminator + Hubspot Workflows