Skip to content

Update Actions and Filters to be named consistenty #231

Open
@jasonbahl

Description

@jasonbahl

currently the codebase has actions and filters with mixed naming conventions:

Some start with wpgraphql_cache (such as wpgraphql_cache_save_request) and some start with graphql_cache such as graphql_purge).

We should decide which prefix to use and make things consistent.

Note, we'll need to keep around the old actions/filters and deprecate them as folks could already be using them.

Some helpful info re: deprecating in here: https://juagonala.com/how-to-deprecate-code-in-wordpress/

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort: lowAround a day or lessgood first issueIssue that doesn't require previous experience with codebasestatus: actionableReady for work to begintype: enhancementImprovements to existing functionality

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions