From decea2044f5acfa4b613489e354b975025b2ec6f Mon Sep 17 00:00:00 2001 From: Dee5ive Date: Sun, 7 Jul 2024 13:42:06 -0400 Subject: [PATCH] Added comment about plugins_loaded hook --- d5-admin-wp.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/d5-admin-wp.php b/d5-admin-wp.php index bdf1672..055db6b 100644 --- a/d5-admin-wp.php +++ b/d5-admin-wp.php @@ -17,7 +17,7 @@ * Plugin Name: D5 Admin WP * Plugin URI: TODO: Git link * Description: Common admin functions - * Version: 1.0.6 + * Version: 1.0.7 * Author: Dee Five * Author URI: https://design519.com/ * License: GPL-2.0+ @@ -56,7 +56,7 @@ add_action( ', '' ); @@ -101,6 +101,9 @@ function register_d5aw_scripts() { require 'plugin-update-checker-5.4/plugin-update-checker.php'; use YahnisElsts\PluginUpdateChecker\v5\PucFactory; + +//Does tyhis need to be called within the plugins_loaded hook? + $myUpdateChecker = PucFactory::buildUpdateChecker( 'http://24.57.69.148/d5-admin-wp.json', __FILE__, //Full path to the main plugin file or functions.php.