Opened 9 years ago
Last modified 9 years ago
#39706 new enhancement
Add $unique param to add_{$meta_type}_meta actions
| Reported by: | barryceelen | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Awaiting Review |
| Component: | Options, Meta APIs | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
The hooks add_{$meta_type}_meta and similar provide context about $object_id, $meta_key, $_meta_value and such, but do not tell whether the meta data added or updated is supposed to be $unique.
Adding this information could be helpful. My use case for instance is propagating meta data across posts.
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
In a similar fashion, the
delete_{$meta_type}_metacould have the$delete_allparam added.