Add the following to your functions.php:
add_filter('wp_mail_from', 'new_mail_from');
add_filter('wp_mail_from_name', 'new_mail_from_name');
function new_mail_from($old) {
return 'your email address';
}
function new_mail_from_name($old) {
return 'your name or your website';
}
Related Posts:
- Registering Class methods as hook callbacks
- When does WordPress.org notify sites of new version?
- Disabling Comment Notifications for Post Author
- wordpress get meta value by meta key
- Updating WordPress – the best approach (updating wp core, plugins and db)
- Code markup plugin like the .wordpress.com blogs offer?
- Set active theme via URL
- WooCommerce Always Include Shipping Information in Checkout [closed]
- Bad Request (Invalid Hostname) on working server, database problem
- Plugin Not Working, But Only On GoDaddy Hosted site
- Long running action from plugin
- How to get the current plugin name?
- Plugin throws up 404 on front-end when when enqueuing style with filetime
- Errors while using ajax from external wordpress page
- List of plugin updates in admin bar
- Peer Review Plugin for Posts? [closed]
- Is there a plugin which disables other plugins for mobile browers?
- Multiple Instances sharing the same database in a development environment
- Geo Targeting articles on a WordPress site [closed]
- get_option compatible with wordpress network (multisite)?
- Create a plugin with Calendar picker
- Can wp_localize_script be used within a shortcode?
- Deactivate Plugin on Theme Switch
- Two people sharing user in WordPress [closed]
- Group images in media library
- WordPress Multisite plugin delegation
- Getting value from Advanced Custom Fields [closed]
- Self deactivate plugins after an action occurs
- How to check if you are on widget.php page?
- How to get current post user id
- Plugin. Html code in Template
- wp_redirect() not working in Insert PHP plugin in WordPress
- Layout Plugin Admin Pages: Use BootStrap? [closed]
- Good rating plugin that doesn’t depend on an external service?
- switched from query_posts to WP_query, not working now?
- Rotate Widgets or Content Blocks every x sec/min
- Problem with creating tables for Plugin
- Matching Chapters to a Custom posts [closed]
- Replacing a plugin function with a custom renamed function doesn’t work
- Is there a standard way to listen for an on change event of a posts featured image
- How do I network enable a plugin for a multisite install via the database?
- Homemade plugin while using Themify Ultra
- How to deal with WordPress and Pocket API to automate content curation on my hosted wordpress blog? [closed]
- Product queue for my subscription box
- Updating plugins asks for FTP information, why? (this is a new one)
- Create Gallery using Custom Post Type and add sum gallery as sub gallery of Main Gallery
- WordPress get_avatar function not correct working
- Make change in media library affect images in published articles
- How to add Wrapper Div/container element around WordPress Widget Content
- UpdraftPlus installed malware – scared to download or update plugins now! [closed]
- Duplicate New User Registration notices (BuddyPress and bbPress both installed)
- How to show the number of website visitors in my theme
- Is there any plugin which enables users to rate comments in thumbs up-down way?
- Plugin Repostitory Questions
- Free paypal cart solution [closed]
- Get site url and updates data, then use them
- How to integrate together a website currently hosted WordPress.com and a custom web application currently hosted on Azure?
- How to update a local development plugin on a separate machine
- Error When Trying To Login [closed]
- unable to remove malware from wp website [closed]
- How do I convert my WordPress website to be domain agnostic?
- Get Image Having the ID [closed]
- Show media-uploads to all users
- How to create plugin auto create page wordpress?
- Scrape a webpage for image and add it to post
- Block wordpress style for my plugin admin page
- Adding CASE in WP_Query
- why I cannot activate elementor plug in?
- How to find the following specific WordPress variables?
- Need help creating asynchronous data scraper in WordPress
- Load extra post content from plugin, after load basic post content
- Trying to get property ‘ID’ of non-object in /wp-includes/class-wp-query.php on line 4044
- WordPress asks to update a plugin already updated
- Why do I need to reload the page for WordPress to see the new custom field added with jQuery
- How to store a secret for a plugin inside public_html
- WordPress:Custom banner from psd trying to cut out a button area so the website link can be clicable not working
- Global $wp_admin_bar always returns null
- Shortcode generated widget to appear on same line as heading text and button
- Show custom taxonomy in theme
- How to prevent encoding plugin HTML output to entities?
- How to differently style pages that display posts of different category in WordPress?
- WordPress FTP/media directory permissions problem?
- Social sharing plugin directing to blank page after post sharing
- accessibility of an object created in a plugin, from the header
- How to build a navigation menu for long-form texts like this one
- how to change/remove/hide menu under installed plugins
- Simple fields plugin WordPress show repeatable file field
- How to check my WordPress.org site MySQL queries generating items?
- onclick open window [closed]
- how to make a plugin secure, so any one if changes something in plugin, it just disables it self and notify us on server? [closed]
- WooCommerce – Adding notice above products on Shop Home [closed]
- $wpdb selects wrong database
- Plugin update warning
- JQuery UI plugin not working in IE7?
- Possible to change meta data single quotes to dobule quotes in yoast wordpress seo? [closed]
- how to know that a wordpress plugin support using API?
- Activate plugin button do nothing [closed]
- How do I remove the filter from the orders and add custom status in Dokan?
- Tips on using a custom template with Ultimate Member
- How to make a Template page to show the information of different things Shop and Product page?