You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,12 @@
4
4
5
5
One of the simple things about a traditional WordPress sites is sending emails, this plugin makes it easy to do this via a simple mutation when you are using WPGraphQL.
echo__('Enter a comma separated list of domains that can sent emails.', 'wp-graphql-send-mail');
90
+
echo__('Enter a comma separated list of domains that can send emails, remembering to include the protocol e.g. https://wordpress.com', 'wp-graphql-send-mail');
57
91
}
58
92
59
93
functionwpgraphql_send_mail_options_page()
@@ -89,6 +123,10 @@ function wpgraphql_send_mail_options_page()
89
123
'type' => 'String',
90
124
'description' => __('Who to send the email to', 'wp-graphql-send-mail'),
91
125
],
126
+
'from' => [
127
+
'type' => 'String',
128
+
'description' => __('Who to send the email from', 'wp-graphql-send-mail'),
129
+
],
92
130
'subject' => [
93
131
'type' => 'String',
94
132
'description' => __('Subject of email', 'wp-graphql-send-mail'),
@@ -133,10 +171,13 @@ function wpgraphql_send_mail_options_page()
133
171
// Do any logic here to sanitize the input, check user capabilities, etc
0 commit comments