From 6b4a26a1d3a11dfe7493bbe09a81f3823137a177 Mon Sep 17 00:00:00 2001 From: Jakub Kubik <33352033+troold@users.noreply.github.com> Date: Tue, 28 Apr 2020 11:20:20 +0200 Subject: [PATCH] Fix hook name Replacing incorrect hook function name --- app/Config/routes.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Config/routes.php b/app/Config/routes.php index 5afef5c..fbbf7a7 100644 --- a/app/Config/routes.php +++ b/app/Config/routes.php @@ -138,5 +138,5 @@ ->registerRouteOfType(RouteType::ADMIN) ->setApp('Plugin_Name') ->withController( - '\Plugin_Name\App\Controller\Admin\AdminSettings@register_hook_callbacks' + '\Plugin_Name\App\Controller\Admin\AdminSettings@registerHookCallbacks' ); // Resolved by Router to 'Plugin_Name\App\Views\Admin\Admin_Settings'.