We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent cd190e5 commit 8457eceCopy full SHA for 8457ece
1 file changed
php/class-meta-box.php
@@ -35,7 +35,10 @@ class Meta_Box {
35
*/
36
public function __construct( Plugin $plugin ) {
37
$this->plugin = $plugin;
38
+
39
add_action( 'init', array( $this, 'init_hook' ) );
40
41
+ $this->register_handlers();
42
}
43
44
/**
@@ -47,7 +50,6 @@ public function __construct( Plugin $plugin ) {
47
50
48
51
public function init_hook() {
49
52
add_action( 'add_meta_boxes', array( $this, 'register_meta_box' ) );
- $this->register_handlers();
53
54
55
0 commit comments