File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -18,7 +18,7 @@ public function __construct() {
1818 global $ hcpp ;
1919 $ hcpp ->nodered = $ this ;
2020 $ hcpp ->add_action ( 'hcpp_invoke_plugin ' , array ( $ this , 'setup ' ) );
21- $ hcpp ->add_action ( 'render_page ' , array ( $ this , 'render_page ' ) );
21+ $ hcpp ->add_action ( 'hcpp_render_page ' , array ( $ this , 'hcpp_render_page ' ) );
2222 }
2323
2424 // Install Node-RED based on the given user options
@@ -86,7 +86,7 @@ public function setup( $args ) {
8686 }
8787
8888 // Custom install page
89- public function render_page ( $ args ) {
89+ public function hcpp_render_page ( $ args ) {
9090 global $ hcpp ;
9191 if ( $ args ['page ' ] !== 'setup_webapp ' ) return $ args ;
9292 if ( strpos ( $ _SERVER ['REQUEST_URI ' ], '?app=NodeRED ' ) === false ) return $ args ;
You can’t perform that action at this time.
0 commit comments