Changes between Initial Version and Version 1 of Ticket #61890, comment 25
- Timestamp:
- 08/28/2024 11:20:16 AM (10 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #61890, comment 25
initial v1 17 17 }}} 18 18 19 If storing the data in term meta is undesirable, and there is a genuine need for extra properties, OOP-wise I think this is a strong signa new class should be created to properly represent the data. I see an example of this in WP's in `wp_tag_cloud` function. It currently adds dynamic properties to a `WP_Term` object:19 If storing the data in term meta is undesirable, and there is a genuine need for extra properties, OOP-wise I think this is a strong signal a new class should be created to properly represent the data. I see an example of this in WP's in `wp_tag_cloud` function. It currently adds dynamic properties to a `WP_Term` object: 20 20 21 21 {{{#!php