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
- Display a list on the front end from wp_remote_get()
- This page didn’t load Google Maps correctly. See the JavaScript console for technical details
- This page didn’t load Google Maps correctly. See the JavaScript console for technical details
- What is an Endpoint?
- Yahoo Finance All Currencies quote API Documentation
- Constructing requests with URL Query String in Python
- Yahoo! Finance CSV file will not return Dow Jones (^DJI)
- Is there a developers api for craigslist.org
- How do you get the API key for Locu?
- Postman Resolving “Invalid CORS request” for a POST Request
- WP Rest API – How to get featured image
- WordPress Rest API custom endpoint optional param
- WP function/filter for modifying http headers?
- Access WordPress API Outside of WordPress (command-line PHP)
- Create API for single sign-on with 3rd party site
- Set up WP Authentication from External API
- How do I cache (core) API requests?
- Fetch All Posts (Including Those Using a Custom Post Type) With WordPress API
- What is the best way to get directory path for wp-config.php?
- Slow REST API calls on self-hosted WordPress [closed]
- Retrieving pages with multiple tags using REST API
- Send data to 3rd party api with wp_remote_post on wp_login
- how to authenticate for the REST API from a plugin and from command line
- External WordPress API
- Trying to get custom post meta through Jetpack JSON API [closed]
- WordPress API – Get Drafts
- How do I use the WP REST API plugin and the OAuth Server plugin to allow for registration and login?
- Should I store external API data in my WP database or keep it as a transient?
- How to get featured post title & image using JSON API?
- How to stop WP API endpoint from caching?
- How to implement ERP (Enterprise Resource Planning) into WordPress?
- List Table API – Safe to use?
- API integration with WordPress
- POST to a REST API from a wordpress form
- How to get the attached gallery in the rest API?
- WP API : date_query parameter
- Gutenberg internal page link search box
- WordPress.org Support Forum API
- Sync posts from one WordPress site to another
- Authentication/API Questions
- Custom route for WP-API gives “rest_no_route” value
- 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?
- Get more than 10 posts in a specific category with the wordpress api
- “rest_no_route” – Debug error
- Passing variables to new page
- 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
- WordPress API – count posts
- How to Securely and remotely Create new user in wordpress using Rest API
- API in numbers?
- how to get nonce using json api
- Does WordPress support a shortcode calling itself from within a shortcode call?
- What is the official way to consume the WordPress API? (api.wordpress.org)
- Stuck with wp_remote_post sending data to an external api on user registration
- API for Post Stats for Self-Hosted WordPress using JetPack [closed]
- How to get title tag of an external page with http api?
- Create post with REST API in php with file_get_contents
- How to Hit External REST POST API in WordPress? [closed]
- WordPress REST API “rest_authentication_errors” doesn’t work external queries?
- How to get WordPress Plugins Data in PHP using Plugin API?
- How to integrate Yelp API
- API getting null values with wp_remote_post
- Increase the page size of the WordPress REST API
- Where to find WordPress API changes for each version released
- 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
- How do I perform a “get” call to an external API, and then display the JSON results on a page in my WordPress site?
- 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
- Custom Post for Locating by Google Maps API
- how to decode % in app [closed]
- Keep user’s privileges on accessing contents in JSON response
- Extending WordPress REST API