Skip to content

How to add actions and filters on front end #189

@tedsecretsource

Description

@tedsecretsource

What is the recommended way to add actions and filters on the front end? Is there a "default" route that executes on every request or a way to say "every route except wp-admin"? I'd hate to think that we have to add lines to plugin.php. That seems like a hack, but I can't figure out where else to do that. Thanks in advance.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions