Skip to content

Commit f55449d

Browse files
committed
removed unused hook and function
1 parent cea87d9 commit f55449d

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

acf-input-counter.php

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ class acf_input_counter {
2323
public function __construct() {
2424
add_action('acf/render_field/type=text', array($this, 'render_field'), 20, 1);
2525
add_action('acf/render_field/type=textarea', array($this, 'render_field'), 20, 1);
26-
add_action('admin_head', array($this, 'admin_head'));
2726
add_action('acf/input/admin_enqueue_scripts', array($this, 'scripts'));
2827
} // end public function __construct
2928

@@ -72,12 +71,6 @@ public function render_field($field) {
7271
}
7372
} // end public function render_field
7473

75-
public function admin_head() {
76-
if (!$this->run()) {
77-
return;
78-
}
79-
} // end public function admin_head
80-
8174
} // end class acf_input_counter
8275

8376
?>

0 commit comments

Comments
 (0)