Skip to content

Commit

Permalink
Update wordpress.md
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastiandedeyne authored Aug 4, 2023
1 parent 365d6ca commit 66d011b
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions docs/usage/wordpress.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ ray()->showWordPressErrors();

To stop showing errors, call `stopShowingWordPressErrors()`.

## Displaying WordPress hooks

To display all WordPress hooks, call `showHooks()`

```php
ray()->showHooks();
```

To stop showing hooks, call `stopShowingHooks()`.

## Production environments

By default, Ray is disabled in production environments. If you want to use Ray in a production environment, you must explicitly enable it with `ray()->enable()`.
Expand Down

0 comments on commit 66d011b

Please sign in to comment.