Skip to content

Commit 72d02c2

Browse files
committed
refactor
1 parent 1c68f23 commit 72d02c2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ghost.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ public function __construct() {
1818
global $hcpp;
1919
$hcpp->ghost = $this;
2020
$hcpp->add_action( 'hcpp_invoke_plugin', [ $this, 'setup' ] );
21-
$hcpp->add_action( 'render_page', [ $this, 'render_page' ] );
21+
$hcpp->add_action( 'hcpp_render_page', [ $this, 'hcpp_render_page' ] );
2222
}
2323

2424
// Setup Ghost with the given user options
@@ -136,7 +136,7 @@ public function is_url_available( $url ) {
136136
}
137137

138138
// Customize the install page
139-
public function render_page( $args ) {
139+
public function hcpp_render_page( $args ) {
140140
global $hcpp;
141141
if ( $args['page'] !== 'setup_webapp') return $args;
142142
if ( strpos( $_SERVER['REQUEST_URI'], '?app=Ghost' ) === false ) return $args;

0 commit comments

Comments
 (0)