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.
The documentation for the
enqueue_stylesandenqueue_scriptsmethods ofPlugin_Name_AdminandPlugin_Name_Publicstates,but in the current version of the code, these methods are called by
Plugin_Name::define_admin_hooksandPlugin_Name::define_public_hooks, This should be updated.