Skip to content

Commit

Permalink
Update ACTIONS_AND_FILTERS.md
Browse files Browse the repository at this point in the history
  • Loading branch information
josephfusco committed May 17, 2024
1 parent 54ffd1b commit eb62290
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions ACTIONS_AND_FILTERS.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,30 +2,30 @@

-> [Original documentation](https://www.wpgraphql.com/docs/customizing-wpgraphiql)

_legend_ πŸŽ‰ = new functionality

## PHP Actions

- `wpgraphqlide_enqueue_script` ([enqueue_graphiql_extension](https://www.wpgraphql.com/docs/customizing-wpgraphiql#enqueue_graphiql_extension))

## PHP Filters

- `wpgraphqlide_capability_required` πŸŽ‰
- `wpgraphqlide_context` πŸŽ‰
- `wpgraphqlide_capability_required`
- `wpgraphqlide_context`
- `wpgraphqlide_external_fragments` ([graphiql_external_fragments](https://www.wpgraphql.com/docs/customizing-wpgraphiql#graphiql_external_fragments))
- `wpgraphqlide_drawer_button_label`
- `wpgraphqlide_drawer_button_loading_label`

## JavaScript Actions

- `wpgraphqlide_destroyed` πŸŽ‰
- `wpgraphqlide_destroyed`
- `wpgraphqlide_rendered` ([graphiql_rendered](https://www.wpgraphql.com/docs/customizing-wpgraphiql#graphiql_rendered))

## JavaScript Filters

- `wpgraphqlide_toolbar_buttons` ([graphiql_toolbar_buttons](https://www.wpgraphql.com/docs/customizing-wpgraphiql#graphiql_toolbar_buttons))
TBD

## Legacy Hooks

Not all actions/filters were ported over from the legacy WPGraphQL IDE.

- `graphiql_toolbar_before_buttons`
- `graphiql_toolbar_after_buttons`
- [`graphiql_toolbar_before_buttons`](https://www.wpgraphql.com/docs/customizing-wpgraphiql#graphiql_toolbar_before_buttons)
- [`graphiql_toolbar_after_buttons`](https://www.wpgraphql.com/docs/customizing-wpgraphiql#graphiql_toolbar_before_buttons)

0 comments on commit eb62290

Please sign in to comment.