A classic WordPress plugin with custom table, shortcodes to insert and retrieve data and public REST API endpoints.
The plugin creates the {prefix}_classic_wp_plugin table, 2 shortcodes to handle the data into the table and 2 REST API endpoints.
[classic_wp_display_form]- Display a form to input data in the custom table.[classic_wp_display_list]- Display the up to the last 10 submitted reviews and a box to search for reviews and filter the table.
Get reviews from the custom table.
Possible params:
page (int) => default = 0
per_page (int) => default = 10 reviews per page
q (string) => search query
Add a new review on the custom table.
POST Data:
name (string)
email (string - email)
rating (int)
comment (string)