Since Buttonizer 2.1 we've rewritten the backend code of Buttonizer. We are now using the WordPress API to take advantage of the newest features.
Endpoints
Which API endpoints does Buttonizer have?
- Showing the Buttonizer buttons for the frontend:
/wp-json/buttonizer/buttons
- Buttonizer settings:
/wp-json/buttonizer/settings
- Buttonizer dashboard data:
/wp-json/buttonizer/dashboard
- Buttonizer publish buttons & data:
/wp-json/buttonizer/publish
- Buttonizer revert buttons & data to the current published version:
/wp-json/buttonizer/revert
- Reset Buttonizer:
/wp-json/buttonizer/reset
- Migrate Buttonizer from v1.x to v2.x:
/wp-json/buttonizer/update/migrate
- Try to remigrate Buttonizer data from v1.x to v2.x:
/wp-json/buttonizer/update/remigrate
- Pagerules overview:
/wp-json/buttonizer/pagerules
- Time schedules overview:
/wp-json/buttonizer/timeschedules
Possible errors
When using the Buttonizer dashboard, there are situations you'll get an error.
Code: rest_invalid_param
This means may appear when parameters are missing.
Code: rest_cookie_invalid_nonce
This means that the security token is invalid or is expired. You'll need to refresh the Buttonizer dashboard before proceeding.