Skip to content

Commit 85ecd8f

Browse files
committed
refactor
1 parent 4dd1018 commit 85ecd8f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

mailcatcher.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class MailCatcher {
1717
public function __construct() {
1818
global $hcpp;
1919
$hcpp->mailcatcher = $this;
20-
$hcpp->add_action( 'render_page', [ $this, 'render_page' ] );
20+
$hcpp->add_action( 'hcpp_render_page', [ $this, 'hcpp_render_page' ] );
2121
$hcpp->add_action( 'nodeapp_startup_services', [ $this, 'nodeapp_startup_services' ] );
2222
$hcpp->add_action( 'priv_unsuspend_domain', [ $this, 'priv_unsuspend_domain' ] );
2323
$hcpp->add_action( 'hcpp_plugin_installed', [ $this, 'hcpp_plugin_installed' ] );
@@ -94,7 +94,7 @@ public function hcpp_new_domain_ready( $args ) {
9494
}
9595

9696
// Add MailCatcher icon next to our web domain list and button to domain edit pages.
97-
public function render_page( $args ) {
97+
public function hcpp_render_page( $args ) {
9898
if ( $args['page'] == 'list_web' ) {
9999
$args = $this->render_list_web( $args );
100100
}

0 commit comments

Comments
 (0)