Permalink
Browse files

Updated example functions to include new timepicker, raw textarea, an…

…d omitted UNIX timestamp
  • Loading branch information...
1 parent c38e85a commit db79666951d0ae145deb73e19b894071bfd7f079 @norcross norcross committed Dec 1, 2011
Showing with 18 additions and 0 deletions.
  1. +18 −0 example-functions.php
View
@@ -37,6 +37,18 @@ function be_sample_metaboxes( $meta_boxes ) {
'type' => 'text_date'
),
array(
+ 'name' => 'Test Date Picker (UNIX timestamp)',
+ 'desc' => 'field description (optional)',
+ 'id' => $prefix . 'test_textdate_timestamp',
+ 'type' => 'text_date_timestamp'
+ ),
+ array(
+ 'name' => 'Test Time',
+ 'desc' => 'field description (optional)',
+ 'id' => $prefix . 'test_time',
+ 'type' => 'text_time'
+ ),
+ array(
'name' => 'Test Money',
'desc' => 'field description (optional)',
'id' => $prefix . 'test_textmoney',
@@ -55,6 +67,12 @@ function be_sample_metaboxes( $meta_boxes ) {
'type' => 'textarea_small'
),
array(
+ 'name' => 'Test Text Area Code',
+ 'desc' => 'field description (optional)',
+ 'id' => $prefix . 'test_textarea_code',
+ 'type' => 'textarea_code'
+ ),
+ array(
'name' => 'Test Title Weeeee',
'desc' => 'This is a title description',
'type' => 'title',

0 comments on commit db79666

Please sign in to comment.