diff --git a/Lesson32/inc/Base/CustomPostTypeController.php b/Lesson32/inc/Base/CustomPostTypeController.php index dfef3b2..07a8a58 100644 --- a/Lesson32/inc/Base/CustomPostTypeController.php +++ b/Lesson32/inc/Base/CustomPostTypeController.php @@ -105,7 +105,7 @@ public function setFields() 'option_name' => 'alecaddd_plugin_cpt', 'label_for' => 'post_type', 'placeholder' => 'eg. product', - 'array' => 'post_type' + ) ), array( @@ -118,7 +118,7 @@ public function setFields() 'option_name' => 'alecaddd_plugin_cpt', 'label_for' => 'singular_name', 'placeholder' => 'eg. Product', - 'array' => 'post_type' + ) ), array( @@ -131,7 +131,7 @@ public function setFields() 'option_name' => 'alecaddd_plugin_cpt', 'label_for' => 'plural_name', 'placeholder' => 'eg. Products', - 'array' => 'post_type' + ) ), array( @@ -144,7 +144,7 @@ public function setFields() 'option_name' => 'alecaddd_plugin_cpt', 'label_for' => 'public', 'class' => 'ui-toggle', - 'array' => 'post_type' + ) ), array( @@ -157,7 +157,7 @@ public function setFields() 'option_name' => 'alecaddd_plugin_cpt', 'label_for' => 'has_archive', 'class' => 'ui-toggle', - 'array' => 'post_type' + ) ) ); @@ -274,4 +274,4 @@ public function registerCustomPostTypes() ); } } -} \ No newline at end of file +}