Skip to content

Commit d57f625

Browse files
committed
Minor README fix
[ci skip]
1 parent d63d901 commit d57f625

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ The functions to remove hooks, [`remove_action`](https://developer.wordpress.org
2323

2424
For the remaining cases that involve object instances `remove_action` and `remove_filter` can only be used when having access to the original object instance that was used to add hooks, but many and many times that's not available.
2525

26-
This package provides 5 functions that can be used to remove hooks which uses object methods or closures even without having
26+
This package provides six functions that can be used to remove hooks which uses object methods or closures even without having
2727

2828
The package functions are:
2929

@@ -250,8 +250,6 @@ Inpsyde\remove_instance_hook('the_title', $foo); // remove 2 callbacks
250250
Inpsyde\remove_instance_hook('the_content', $foo);
251251
```
252252

253-
----
254-
255253

256254
## `Inpsyde\remove_invokable_hook()`
257255

@@ -290,8 +288,6 @@ new Foo();
290288
Inpsyde\remove_invokable_hook('template_redirect', Foo::class);
291289
```
292290

293-
----
294-
295291

296292
## `Inpsyde\remove_all_object_hooks()`
297293

0 commit comments

Comments
 (0)