| ... | ... | @@ -2,18 +2,13 @@ |
|
|
|
|
|
|
|
## **What's this pluggin for?**
|
|
|
|
|
|
|
|
This plugin connects WordPress with the backend (Odoo). The idea behind the plugin is to allow CRUD (create, read, update, and delete) functions. In other words, the plugin establishes a connection between WordPress and the backend, so that Odoo can inform WordPress when a CE landing page must be created. Also to allow, once WordPress has created a CE landing page, to send back the post information to the backend. With these, the backend can either modify the post or delete it if necessary.
|
|
|
|
Once the connection has been between Wordpress and Odoo has been established through the WPCT Odoo Connect, this plugin serves as a ... so that Odoo can inform WordPress when a CE landing page must be created. Also to allow, once WordPress has created a CE landing page, to send back the post information to the backend. With these, the backend can either modify the post or delete it if necessary.
|
|
|
|
|
|
|
|
## **How does it work?**
|
|
|
|
|
|
|
|
The connection between the backend and WordPress is established via the WordPress REST API.
|
|
|
|
lorem ipsum
|
|
|
|
|
|
|
|
### **Wordpress REST API**
|
|
|
|
|
|
|
|
The WordPress REST API provides an interface for applications to interact with your WordPress site by sending and receiving data as JSON (JavaScript Object Notation) objects. IN other words, the REST API allow the same actions user's can perform from worpress administartion page, but automatized.
|
|
|
|
For more information about Wordpress REST API see the [official documentation](https://developer.wordpress.org/rest-api/).
|
|
|
|
|
|
|
|
### **Wordpress REST API Authentication dependecies**
|
|
|
|
|
|
|
|
plugins may be added to support alternative modes of authentication that will work from remote applications.
|
|
|
|
The pluggin must be installed along with the [JWT Authentication for WP REST API plugin](https://wordpress.org/plugins/jwt-authentication-for-wp-rest-api/). This plugin extens Extends the WP REST API using JSON Web Tokens Authentication as an authentication method. |