This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class APF_CustomTextFieldType extends AdminPageFramework { | |
public function setUp() { | |
$this->setRootMenuPage( 'Sample' ); // where to belong | |
$this->addSubMenuItem( | |
array( | |
'title' => __( 'Custom Text Field Type', 'admin-page-framework-demo-custom-field-type' ), // page and menu title | |
'page_slug' => 'apf_custom_text_field_type' // page slug |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Patch - Admin Page Framework Global Post Variable | |
Description: Restores the global $post variable in the admin area as some plugins modify it. | |
*/ | |
class Patch_AdminPageFramework_GlobalPostVariable { | |
public function __construct() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Admin Page Framework Test - Tabs in Post Listing Page. | |
Plugin URI: http://en.michaeluno.jp/admin-page-framework | |
Description: Tests tabs in post listing pages. | |
Author: Michael Uno | |
Author URI: http://michaeluno.jp | |
Version: 1.0.0 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Admin Page Framework Example - Sortable Labels | |
Plugin URI: http://en.michaeluno.jp/admin-page-framework | |
Description: Shows how to create asortable lables. | |
Author: Michael Uno | |
Author URI: http://michaeluno.jp | |
Version: 1.0.0 | |
Requirements: PHP 5.2.4 or above, WordPress 3.3 or above. Admin Page Framework 3.5.8 or above | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Task Scheduler - Sample Action | |
* Plugin URI: http://en.michaeluno.jp/ | |
* Description: Uses a custom action with Task Scheduler. | |
* Author: Michael Uno | |
* Author URI: http://michaeluno.jp | |
* Version: 1.0.0 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Admin Page Framework Example - Wizard Type Form | |
Plugin URI: http://en.michaeluno.jp/admin-page-framework | |
Description: Demonstrates a simple Wizard form. | |
Author: Michael Uno | |
Author URI: http://michaeluno.jp | |
Version: 1.0.0 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
Plugin Name: Admin Page Framework Test - Form Capability | |
Plugin URI: http://en.michaeluno.jp/admin-page-framework | |
Description: Tests form capabilities. | |
Author: Michael Uno | |
Author URI: http://michaeluno.jp | |
Version: 1.0.0 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* An Admin Page Framework custom field type that has one image input and 5 drop-down lists. | |
* | |
* @version 0.0.2 | |
*/ | |
if ( class_exists( 'AdminPageFramework_FieldType_image' ) && ! class_exists( 'ImageAndDropDownsFieldType' ) ) : | |
class ImageAndDropDownsFieldType extends AdminPageFramework_FieldType_image { | |
/** |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Custom Text Area Field Type | |
* | |
* A custom textarea field type compatible with the SiteOrigin Page Builder plugin. | |
* | |
* @version 0.0.2 | |
*/ | |
if ( class_exists( 'AdminPageFramework_FieldType_textarea' ) && ! class_exists( 'CustomTextAreaFieldType' ) ) : | |
class CustomTextAreaFieldType extends AdminPageFramework_FieldType_textarea { |