-
Notifications
You must be signed in to change notification settings - Fork 1
/
readme.txt
75 lines (51 loc) · 3.09 KB
/
readme.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
=== Admin Email As From Address ===
Contributors: BjornW, Ramon Fincken
Tags: email, admin email, from email address, from email sender, from email name
Requires at least: 4.5
Tested up to: 4.9.6
Stable tag:trunk
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Use the admin email address as the from email address
== Description ==
Use the admin email address set in Settings->General as the email address from which WordPress sends email.
The plugin has two easy settings and programmer hook support to set as new From email address and a From name. It also should work perfectly fine with Multisite installations.
== Screenshots ==
1. A screenshot of the WordPress Settings->General section with the admin email field marked red.
2. A screenshot of the WordPress Settings->General section with the extra fields for setting the From email address and name.
== Installation ==
1. Upload the `admin-email-as-from-address` directory to the `/wp-content/plugins/` directory
2. Activate the plugin through the 'Plugins' menu in WordPress
3. Done!
== Notes ==
Since version 1.1 you may also overrule this plugin by using the following filters:
- aeafa_mail_from, [similar to wp_mail_from](https://developer.wordpress.org/reference/hooks/wp_mail_from/)
- aeafa_mail_from_name, [similar to wp_mail_from_name](https://developer.wordpress.org/reference/hooks/wp_mail_from_name/)
These work exactly the same as their core WordPress counterparts and allows you to implement your own mail_from and mail_from_name
*Credits*
Icon used in the WordPress plugin repository and found in /assets/icon*
From the series ['Hatch'](http://www.toicon.com/series/hatch) By [Carol Liao](http://www.toicon.com/authors/3)
Licensed Creative Commons Attribution 4.0 International License.
Thanks Carol Liao and to[icon] for sharing your work!
WordPress repository header image found in /assets:
['Postage Stamps'](https://www.flickr.com/photos/internetarchivebookimages/14598000897/)
"Image from page 1051 of "Universal dictionary of the english language:
a new and original work presenting for convenient reference the orthography,
pronunciation, meaning, use, origin and development of every word in the english language ..." (1898)"
Year: 1898 (1890s)
Authors: Hunter, Robert, 1823-1897 Morris, Charles, 1833-1922
Subjects:
Publisher: New York : Peter Fenelon Collier
Contributing Library: University of California Libraries
Digitizing Sponsor: Internet Archive
License: No known copyrights, see https://www.flickr.com/commons/usage/
From the Internet Archive Book Images on Flickr Commons
Thanks Internet Archive & Flickr Commons - flickr.com/commons
== Changelog ==
#### 1.2 - November 16, 2016
- Created General settings option fields to set From sender name and From sender email address. The filters aeafa_mail_from and aeafa_mail_from_name will still override these fields. Props Ramon Fincken.
See also the included screenshot-2.png
#### 1.1 - November 15, 2016
- Made the plugin extensible using filters. These filters are available: aeafa_mail_from and aeafa_mail_from_name
#### 1.0 - September 5, 2016
- First release