Title: cct_webapi
Author: rag-guay
Published: <strong>August 21, 2012</strong>
Last modified: August 21, 2012

---

Search plugins

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://s.w.org/plugins/geopattern-icon/cct-api.svg)

# cct_webapi

 By [rag-guay](https://profiles.wordpress.org/rag-guay/)

[Download](https://downloads.wordpress.org/plugin/cct-api.1.0.zip)

 * [Details](https://wordpress.org/plugins/cct-api/#description)
 * [Reviews](https://wordpress.org/plugins/cct-api/#reviews)
 *  [Installation](https://wordpress.org/plugins/cct-api/#installation)
 * [Development](https://wordpress.org/plugins/cct-api/#developers)

 [Support](https://wordpress.org/support/plugin/cct-api/)

## 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

 1. Upload `cct_webapi.zip` to the `/wp-content/plugins/` directory and unzip.
 2. Activate the plugin through the ‘Plugins’ menu in WordPress
 3. Create a new API post type with you PHP code and you are running!

## FAQ

None.

## Reviews

There are no reviews for this plugin.

## Contributors & Developers

“cct_webapi” is open source software. The following people have contributed to this
plugin.

Contributors

 *   [ rag-guay ](https://profiles.wordpress.org/rag-guay/)

[Translate “cct_webapi” into your language.](https://translate.wordpress.org/projects/wp-plugins/cct-api)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/cct-api/), check out
the [SVN repository](https://plugins.svn.wordpress.org/cct-api/), or subscribe to
the [development log](https://plugins.trac.wordpress.org/log/cct-api/) by [RSS](https://plugins.trac.wordpress.org/log/cct-api/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 1.0

 * First Version.

## Meta

 *  Version **1.0**
 *  Last updated **14 years ago**
 *  Active installations **Fewer than 10**
 *  WordPress version ** 3.2 or higher **
 *  Tested up to **3.4.2**
 * Tag
 * [webapi](https://wordpress.org/plugins/tags/webapi/)
 *  [Advanced View](https://wordpress.org/plugins/cct-api/advanced/)

## Ratings

No reviews have been submitted yet.

[Your review](https://wordpress.org/support/plugin/cct-api/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cct-api/reviews/)

## Contributors

 *   [ rag-guay ](https://profiles.wordpress.org/rag-guay/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cct-api/)

## Donate

Would you like to support the advancement of this plugin?

 [ Donate to this plugin ](http://customct.com)