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:
- Can I leave off plugin textdomain for terms used in core?
- Changing title of a page dynamically from within a plugin
- How do you allow plugins to be updated using the GUI without breaking your subversion repository?
- Correct way to serialize the data of options table?
- How to force WordPress to temporarily switch locale (using qTranslate)? [closed]
- category_name not working (not showing up in sql query debug)
- What happens when two plugins have the same 3rd party class included into them?
- add_rewrite_rule, plugin activation and plugin deactivation
- Custom admin column disappearing when using Quick Edit [duplicate]
- Create page when plugin is activated
- Allowing Custom Capability to Manage Plugin Options
- wp_insert_user – how to send verification email before logging in
- Custom plugin settings: clicking “save changes” does not display success message
- WordPress Hook that will run when media file deleted
- Prevent multisite sites from using a plugin
- Plugins won’t auto-update on IIS
- Make plugin uninstalable on older versions of WordPress
- Qtranslate displays empty categories with get_categories()
- How can I translate the name of my Plugin for other languages?
- Get the current taxonomy product category title in woocommerce
- Remote plugin activation hook
- How to make a plugin auto-add item to nav menu
- Custom Post Type causes Page Not Found
- How can I filter blog name?
- Logs to check when the plugin was first installed for the first time
- Is it possible to remove this action? (as it’s added just before it’s called)
- There’s some way to add a wrapper around posted images?
- Advanced Integration – WordPress + YOURLS
- Extend Elementor Archive Posts widget with a custom skin in order to show multiple badges
- How to redirect Old Post URL to new Post and keep Old post Comments?
- Redirect all blog links from WordPress.com site to new domain
- wp_enqueue_script fails to include in footer
- Automatically translating from existing .po and .mo files?
- Plugin shortcode won’t work on a custom template file [closed]
- XML sitemap over product variations
- How to show popup to a group of users?
- jQuery function didn’t work in my plugin
- Plugin Expires Headers – W3 Total Cache [closed]
- Limit the number of plugins that can be installed in a WordPress installation
- Should WordPress plugins adhere to WordPress admin panel styling?
- How can we deal with unmaintained plugins with vulnerabilities?
- Adding json as params to shortcode
- How to disable lightbox popup for “add a review” only?
- How to Sort the Favorite Plugins Screen Alphabetically?
- adding meta data using plugin to top of head
- Is there any way to get all the name or slug of template parts used in a page?
- how an array index could be a file path
- How do i login when i cant access wp-login.php?
- First WordPress Plugin – Stat Issues
- MySql database help for a plugin
- How to checkout the wordpress.org plugin repository?
- Plugin to host auctions on your site
- How can I add Expire headers to images?
- Adding an Options Page to a Plugin
- How do I “get the next 10 posts after post_id == x”?
- How to Delete all Unused photos Function
- Inserting above the comment template
- How do you allow users tag a photo
- Updating the Drag-To-Share eXtended share URLs?
- List Category Posts rewrite necessitates rewrite of customised templates
- Moving Share Buttons from a Plugin
- WordPress.org Plugin Directory doesn’t recognise screenshots [closed]
- How to check current user before all actions and filters?
- How do I create a filter feature on WordPress? [closed]
- install robots.txt to wordpress website admin
- Send Contact form 7 data to remote server using .NET api [closed]
- Sending HTML emails via wp_mail not working properly
- WP Plugin for onpage link suggestions [closed]
- Customizing NEXTGEN Gallery To link images to pages
- Plugin: register_deactivation_hook works perfectly well, while register_activation_hook suddenly stopped working
- Load external images via proxy
- add_action in static class [closed]
- Ability to automatically redirect a URL
- Passing Page ID used in Meta Box Creation to JavaScript
- How to Add Custom New Published Post Counter Icon on Top of the WordPress Site [closed]
- register_settings callback function posing problem
- Co-Authors Plugin Displaying Wrong Author
- How often should I execute add_filter and function declaration in Code Snippets?
- How to code a wordpress page properly? Dashboard or unique Theme files or alternative?
- Running a function using Crown WordPress on one day a week, for example, Mondays of every week
- Ad Management Plug that can be used on a membership site
- 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?
- Split Million WordPress Post’s Into Multiple Database Server
- WordPress theme is not displaying the correct home page in the Pages section
- how to send metadata with wp stripe checkout plugin?
- Remove wpseo filter from polylang plugin
- Is it possible to enable plugin by site?
- Enable Downloads on WordPress Attachment Page
- Unable to Edit or Add Photo Gallery Under Portfolio in WordPress 6.2.5
- Automatic assignment of multi images to products in WooCommerce/WordPress with SKU
- Lost Password of my site, how to reset wordpress password?
- Show only those pages that are created by the specific logged in user in WordPress
- WP Mail SMTP Plugin Fails Certificate Verification [closed]
- wp_logout function not executed
- Styling embed code syntax in WordPress post [closed]
- migration from dedicated to shared server – plugin & database concerns
- Re-use date format on different template
- Remove and strip html tag values