Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cornernote/wordpress-yii_connect_example
https://github.com/cornernote/wordpress-yii_connect_example
Last synced: about 2 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/cornernote/wordpress-yii_connect_example
- Owner: cornernote
- Created: 2013-07-15T15:52:54.000Z (over 11 years ago)
- Default Branch: master
- Last Pushed: 2014-02-17T10:00:28.000Z (almost 11 years ago)
- Last Synced: 2024-10-15T14:30:49.206Z (3 months ago)
- Language: PHP
- Size: 195 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Yii Connect Example
Contributors: zainengineer, cornernote
Tags: yii
Requires at least: 3.0.1
Tested up to: 3.4
Stable tag: 0.1
License: CC-by-nc-nd
License URI: http://creativecommons.org/licenses/by-nc-nd/3.0/An example demonstrating integration of Yii directly from your Wordpress site.
## Description
An example demonstrating integration of Yii directly from your Wordpress site.
## Requires
Yii Connect for Wordpress:
https://github.com/cornernote/wordpress-yii_connect## To Extend
In YiiConnectExample
public static function adminMenu()
add this line
```
add_submenu_page(null, 'Yii Connect Example - Test', 'Test', 'manage_options', 'yii-connect-example-test', 'YiiConnectExample::actionTest');
```Please note that this is called because we have a line
```
add_action('admin_menu', 'YiiConnect::adminMenu');
```This causes actions to be added for wp-includes/plugins/do_action tags are passed like admin_footer-admin_page_yii-connect-example-test which maps to our action