We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents f44aa0f + f2eeb7f commit 35bb2d1Copy full SHA for 35bb2d1
1 file changed
php/class-meta-box.php
@@ -37,8 +37,6 @@ 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
/**
@@ -48,6 +46,8 @@ public function __construct( Plugin $plugin ) {
48
46
*/
49
47
public function init_hook() {
50
add_action( 'add_meta_boxes', array( $this, 'register_meta_box' ) );
+
+ $this->register_handlers();
51
52
53
0 commit comments