Skip to content

Commit 1c68f23

Browse files
committed
prefix action namespace
1 parent 8e677ed commit 1c68f23

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ghost.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class Ghost {
1717
public function __construct() {
1818
global $hcpp;
1919
$hcpp->ghost = $this;
20-
$hcpp->add_action( 'invoke_plugin', [ $this, 'setup' ] );
20+
$hcpp->add_action( 'hcpp_invoke_plugin', [ $this, 'setup' ] );
2121
$hcpp->add_action( 'render_page', [ $this, 'render_page' ] );
2222
}
2323

0 commit comments

Comments
 (0)