Skip to content

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

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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