cct_webapi
This plugin creates a custom post type called API. When you create an API post, all of the content will be executed as PHP code just before the theme …
Plugin info
Maintenance & Compatibility
Maintenance score
Possibly abandoned • Last updated 4879 days ago
Is cct_webapi abandoned?
Possibly abandoned (last update 4879 days ago).
Compatibility
Similar & Alternatives
Explore plugins with similar tags, and compare key metrics like downloads, ratings, updates, support, and WP/PHP compatibility.
Description
Many times when a site powered by WordPress wants to supply a Web API for their site, they will work outside of WordPress using either PHP or Ruby on Rails. Then they have to write their own functions to get to the information inside the database for their WordPress site. I always thought that was a little backwards. That is why I wrote the Web API plugin for WordPress.
With the Web API plugin, you no longer have to do that. This plugin creates a custom post type called API. When you create an API post, all of the content will be executed as PHP code just before the theme stuff is executed in WordPress. Therefore, you have full access to all the WordPress PHP functions to create whatever you want: JSON output, HTML sniplets, full HTML pages without any of the sites theme or code, or anything else you can imagine. After the code on the page is executed, then the PHP session will be ended.
Installation
- Upload
cct_webapi.zipto the/wp-content/plugins/directory and unzip. - Activate the plugin through the ‘Plugins’ menu in WordPress
- Create a new API post type with you PHP code and you are running!
Frequently Asked Questions
None.
Review feed
Screenshots
Changelog
1.0
- First Version.