Skip to content

Allow callback to be direct functions instead of method of the subscriber #3

@remyperona

Description

@remyperona

In some cases, we can have the use of PHP or WP functions as callbacks for hooks in a subscriber.

Good examples are when we want to return true/false, an empty array, etc. WP already has functions for that, and we end up duplicating this into the Subscriber instead.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions