We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 1c68f23 commit 72d02c2Copy full SHA for 72d02c2
1 file changed
ghost.php
@@ -18,7 +18,7 @@ public function __construct() {
18
global $hcpp;
19
$hcpp->ghost = $this;
20
$hcpp->add_action( 'hcpp_invoke_plugin', [ $this, 'setup' ] );
21
- $hcpp->add_action( 'render_page', [ $this, 'render_page' ] );
+ $hcpp->add_action( 'hcpp_render_page', [ $this, 'hcpp_render_page' ] );
22
}
23
24
// Setup Ghost with the given user options
@@ -136,7 +136,7 @@ public function is_url_available( $url ) {
136
137
138
// Customize the install page
139
- public function render_page( $args ) {
+ public function hcpp_render_page( $args ) {
140
141
if ( $args['page'] !== 'setup_webapp') return $args;
142
if ( strpos( $_SERVER['REQUEST_URI'], '?app=Ghost' ) === false ) return $args;
0 commit comments