From 071cd4b64ae22596e5083403f5503f3f0d2fec8b Mon Sep 17 00:00:00 2001 From: jrfnl Date: Fri, 22 Dec 2023 03:19:42 +0100 Subject: [PATCH] Whip_WPMessagePresenter: remove deprecated method .. as the next release will be a major. --- src/presenters/Whip_WPMessagePresenter.php | 15 --------------- 1 file changed, 15 deletions(-) diff --git a/src/presenters/Whip_WPMessagePresenter.php b/src/presenters/Whip_WPMessagePresenter.php index 53dbb22..17610fd 100644 --- a/src/presenters/Whip_WPMessagePresenter.php +++ b/src/presenters/Whip_WPMessagePresenter.php @@ -55,21 +55,6 @@ public function registerHooks() { add_action( 'admin_notices', array( $this, 'renderMessage' ) ); } - /** - * Registers hooks to WordPress. - * - * @deprecated 1.2.0 Use the Whip_WPMessagePresenter::registerHooks() method instead. - * @codeCoverageIgnore - * - * @return void - * - * @phpcs:disable Generic.NamingConventions.CamelCapsFunctionName - */ - public function register_hooks() { - // phpcs:enable - self::registerHooks(); - } - /** * Renders the messages present in the global to notices. *