Skip to content

Function documentation update for Plugin_Name_Admin::enqueue_styles and others #609

@WatermarkBranding

Description

@WatermarkBranding

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions