From ec8f2abaf829dc8dbf45e845c8bda5bd83f13eac Mon Sep 17 00:00:00 2001 From: shail-mehta Date: Sun, 13 Oct 2024 11:01:03 +0530 Subject: [PATCH] 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 ) {