Changes between Version 2 and Version 3 of Ticket #17447, comment 2
- Timestamp:
- 05/17/2011 04:35:48 AM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #17447, comment 2
v2 v3 10 10 In addition a plugin developer may want to provide an admin console option that allows the end user to define all the visibility settings for the different post types; a `pre_register_post_type` hook would enable that. 11 11 12 Another example is `$args->columns` which would include a keyed array of headers and callbacks and/or `$args->column_headers` containing an array of headers and `$args->column_callbacks` containing an array of callbacks. And yet another example would be to add `$args->meta_boxes` which would include a keyed array of `meta_box` args.12 Another example is an `$args->columns` which would include a keyed array of headers and callbacks and/or `$args->column_headers` containing an array of headers and `$args->column_callbacks` containing an array of callbacks. And yet another example would be to add `$args->meta_boxes` which would include a keyed array of `meta_box` args. 13 13 14 14 As stated, some of those examples are ones I currently would like to be able to streamline by specifying in the `register_post_type()` call making it easier to define a full-features custom post type, and some of these examples of trying to keep WordPress from doing work to create data that is simply going to be thrown away.