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
{{ message }}
This repository was archived by the owner on Nov 23, 2024. It is now read-only.
Just use `[meta your_meta_name]` to take custom order meta by `get_post_meta()` function.
31
116
32
-
## Benefits.
33
-
1. Send a notification to your self.
34
-
2. Send a notifycation to your group.
35
-
3. Can send text, image and line sticker to the notification message.
117
+
### API for Developer
118
+
To send message via static method just put your message to the method like below.
119
+
```
120
+
WooLineNotify::Send_Line_Notify( 'Some message to send' );
121
+
```
122
+
123
+
### REST API
124
+
- URL: `domain/wp-json/woo-line-notify/v1/notify`
125
+
- METHOD: `POST`
126
+
- PARAMETERS: `message <Your message to send> `
127
+
- Authentication: `Basic Authen`
128
+
- USERNAME/PASSWORD: `<API Key>:<API_Key>`
129
+
130
+
#### For example.
131
+
Send post request to `http://localhost/wp-json/woo-line-notify/v1/notify` you must be send parameter `message` by form/data and add Authenticate to header with value `Basic base64_encode( some_api_key_from_api_option:some_api_key_from_api_option )`
36
132
37
133
## How to install
38
134
1. Upload the entire wc_linenotify folder to the /wp-content/plugins/ directory.
@@ -53,9 +149,6 @@ Privacy Policy rules of Line Messaging [https://terms.line.me/line_rules?lang=en
53
149
## Roadmap
54
150
- Message pattern for selected status.
55
151
- Multiple token id support for message broadcast.
56
-
- Message broadcast to line group.
57
-
- Add line sticker.
58
-
- Attach event url.
59
152
60
153
## Contibute guidelines
61
154
Thank you for your suggestion and support to the project. I very happy to help and give the thing I can do to the world. If you can help me to develop this plugin or join as a team members please follow below. I'll add your name to contributor members if you've joined.
@@ -66,6 +159,20 @@ Thank you for your suggestion and support to the project. I very happy to help a
66
159
5. Create pull request with update details to developer.
0 commit comments