Changes between Initial Version and Version 1 of Ticket #46635, comment 18
- Timestamp:
- 04/03/2019 09:26:09 PM (6 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #46635, comment 18
initial v1 2 2 3 3 - Yes, the `RemovableClosure` is a `callable` to PHP, so it will just behave as a regular Closure, or any other callable. 4 - We can still provide a convenience function, like `add_closure_action( $hook, $id, $closure, $priority, $num_args )` to hide the object instantiation. This can be thenwithout BC break.4 - We can still provide a convenience function, like `add_closure_action( $hook, $id, $closure, $priority, $num_args )` to hide the object instantiation. This can be done without BC break.