Function documentation update for Plugin_Name_Admin::enqueue_styles and others
Author: WatermarkBrandingCreated Jan 7, 2026Updated Jan 7, 2026
The documentation for the enqueue_styles and enqueue_scripts methods of Plugin_Name_Admin and Plugin_Name_Public states,
/**
* This function is provided for demonstration purposes only.
*
* An instance of this class should be passed to the run() function
* defined in Plugin_Name_Loader as all of the hooks are defined
* in that particular class.
*
* The Plugin_Name_Loader will then create the relationship
* between the defined hooks and the functions defined in this
* class.
*/but in the current version of the code, these methods are called by Plugin_Name::define_admin_hooks and Plugin_Name::define_public_hooks, This should be updated.
Source: DevinVinson/WordPress-Plugin-Boilerplate