From ec8f2abaf829dc8dbf45e845c8bda5bd83f13eac Mon Sep 17 00:00:00 2001 From: shail-mehta Date: Sun, 13 Oct 2024 11:01:03 +0530 Subject: [PATCH 1/2] Added global documentation in plugin_main.php file --- includes/Plugin_Main.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/includes/Plugin_Main.php b/includes/Plugin_Main.php index 9c037dcaa..ea506ae74 100644 --- a/includes/Plugin_Main.php +++ b/includes/Plugin_Main.php @@ -51,6 +51,8 @@ public function context() { * Registers WordPress hooks for the plugin. * * @since 1.0.0 + * + * @global Plugin_Context $context The plugin context instance. */ public function add_hooks() { if ( defined( 'WP_CLI' ) && WP_CLI ) { From 7fbb8e7f7793bf491415f557eb372566e0f4bd3d Mon Sep 17 00:00:00 2001 From: shail-mehta Date: Sun, 13 Oct 2024 11:05:19 +0530 Subject: [PATCH 2/2] removed white space --- includes/Plugin_Main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/Plugin_Main.php b/includes/Plugin_Main.php index ea506ae74..2c7edf984 100644 --- a/includes/Plugin_Main.php +++ b/includes/Plugin_Main.php @@ -51,7 +51,7 @@ public function context() { * Registers WordPress hooks for the plugin. * * @since 1.0.0 - * + * * @global Plugin_Context $context The plugin context instance. */ public function add_hooks() {