@@ 39-50 (lines=12) @@ | ||
36 | /** |
|
37 | * Initialization tasks. |
|
38 | */ |
|
39 | public function init() { |
|
40 | $this->labels = array( |
|
41 | 'singular_name' => __( 'Entry', 'carbon-fields' ), |
|
42 | 'plural_name' => __( 'Entries', 'carbon-fields' ), |
|
43 | ); |
|
44 | ||
45 | // Include the complex group Underscore templates |
|
46 | $this->add_template( 'Complex-Group', array( $this, 'template_group' ) ); |
|
47 | $this->add_template( 'Complex-Group-Tab-Item', array( $this, 'template_group_tab_item' ) ); |
|
48 | ||
49 | parent::init(); |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * Add a set/group of fields. |
@@ 39-50 (lines=12) @@ | ||
36 | /** |
|
37 | * Initialization tasks. |
|
38 | */ |
|
39 | public function init() { |
|
40 | $this->labels = array( |
|
41 | 'singular_name' => __( 'Entry', 'carbon-fields' ), |
|
42 | 'plural_name' => __( 'Entries', 'carbon-fields' ), |
|
43 | ); |
|
44 | ||
45 | // Include the complex group Underscore templates |
|
46 | $this->add_template( 'Complex-Group', array( $this, 'template_group' ) ); |
|
47 | $this->add_template( 'Complex-Group-Tab-Item', array( $this, 'template_group_tab_item' ) ); |
|
48 | ||
49 | parent::init(); |
|
50 | } |
|
51 | ||
52 | /** |
|
53 | * Add a set/group of fields. |