Changes between Initial Version and Version 1 of Ticket #43644, comment 6
- Timestamp:
- 03/27/2018 05:32:51 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #43644, comment 6
initial v1 2 2 3 3 Lets add it then. The above example for `wp_comment_reply` is really hard to read. 4 5 I'd go one step further: for best readability arrays should be defined outside of function and filter calls. Example: 6 {{{ 7 $array = array( 8 'position' => $position, 9 'checkbox' => $checkbox, 10 'mode' => $mode, 11 ); 12 13 $content = apply_filters( 'wp_comment_reply', '', $array ); 14 }}}