File tree Expand file tree Collapse file tree 1 file changed +0
-4
lines changed
plugins/osi-features/inc/classes/taxonomies Expand file tree Collapse file tree 1 file changed +0
-4
lines changed Original file line number Diff line number Diff line change @@ -20,7 +20,6 @@ abstract class Base {
2020 * Base constructor.
2121 */
2222 protected function __construct () {
23-
2423 $ this ->setup_hooks ();
2524 }
2625
@@ -30,7 +29,6 @@ protected function __construct() {
3029 * @return void
3130 */
3231 protected function setup_hooks () {
33-
3432 add_action ( 'init ' , array ( $ this , 'register_taxonomy ' ) );
3533 }
3634
@@ -40,7 +38,6 @@ protected function setup_hooks() {
4038 * @return void
4139 */
4240 public function register_taxonomy () {
43-
4441 if ( empty ( static ::SLUG ) ) {
4542 return ;
4643 }
@@ -70,7 +67,6 @@ public function register_taxonomy() {
7067 * @return array
7168 */
7269 public function get_args () {
73-
7470 return array (
7571 'hierarchical ' => true ,
7672 'show_ui ' => true ,
You can’t perform that action at this time.
0 commit comments