XPressME Integration Kit

Trac

source: trunk/wp-content/plugins/xpressme/xpressme.php @ 20

Last change on this file since 20 was 19, checked in by toemon, 16 years ago

プラグインの設定画面サンプル
プラグインをクラス化して設定テスト画面を配置(まだ設定値書き込みは出来ていない)

File size: 530 bytes
Line 
1<?php
2/*
3Plugin Name: Plugin for XPressME
4Plugin URI: http://www.toemon.com
5Description: Plugin for XPressME (custom function,filter,action)
6Author: toemon
7Version: 0.001
8Author URI: http://www.toemon.com
9*/
10require_once('xpressme_class.php');
11$xpessme = new XPressME_Class();
12
13add_action('admin_menu', array(&$xpessme, 'add_option_page'));
14add_action('admin_head', array(&$xpessme, 'add_admin_head'));
15add_filter("upload_dir",array(&$xpessme, 'xpress_upload_filter'),       1);             // Change wp-include/wp_upload_dir()
16
17?>
Note: See TracBrowser for help on using the repository browser.