Changes between Initial Version and Version 1 of Ticket #21170, comment 131
- Timestamp:
- 07/21/2017 09:41:20 AM (8 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #21170, comment 131
initial v1 2 2 > However, I'm not sure we should make it mandatory. 3 3 4 Thinking it should be mandatory so we have parity with the way hooks work in PHP. A plugin should always be able to remove an action or a filter, also when it is added by another plugin. If the callback name is not mandatory some plugins will probably skip it. Then we will have to do " Not doing it right.." etc. again.4 Thinking it should be mandatory so we have parity with the way hooks work in PHP. A plugin should always be able to remove an action or a filter, also when it is added by another plugin. If the callback name is not mandatory some plugins will probably skip it. Then we will have to do "Doing it wrong..." etc. again. 5 5 6 6 Working example: