You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Moved CustomPostType, CustomTaxonomy, CustomMetaBox, and FormTablePresenter to lib/posttypes/ wrote wrapper classes NIB_PostType, NIB_Taxonomy, and NIB_MetaBox; refactored CustomMetaBox to require fewer arguments for construction.
* @var string The Meta box's title. Appears at the top of the Meta Box on the edit page.
26
+
*/
27
+
protected$title;
28
+
29
+
/**
30
+
* @var array An array of post types with which the meta box will register.
31
+
*/
32
+
protected$postTypes;
33
+
34
+
/**
35
+
* @var string The part of the edit page where the meta box will appear. Valid values include 'normal','advanced', or 'side'
36
+
*/
37
+
protected$context = 'normal';
38
+
39
+
/**
40
+
* @var string The priority within the contex where the boxes should show. Valid options include 'high' or 'low'
41
+
*/
42
+
protected$priority = 'high';
43
+
44
+
/**
45
+
* @var array A multi-dimensional associative array of fields. Each field must contain values for, at least, id and type. Most (if not all) should contain more fields.
46
+
*/
47
+
protected$fields = array();
48
+
49
+
/**
50
+
* @var formTablePresenter Presenter object for generating the form
51
+
*/
52
+
protected$_presenter;
53
+
54
+
/**
55
+
*
56
+
* @param string $id ID/slug
57
+
* @param string $title Title to display
58
+
* @param array $postTypes Array of post type slugs to associate with.
59
+
* @param string $context Default is 'normal'
60
+
* @param string $priority Default is 'high'
61
+
* @param array $fields Array of fields, corresponding to the fields used by FormTablePresenter.
0 commit comments