Changes between Version 1 and Version 2 of Ticket #60631, comment 2
- Timestamp:
- 02/28/2024 04:34:43 PM (11 months ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #60631, comment 2
v1 v2 1 Thanks for your message. 1 Edit: `build_variation_for_navigation_link` returns 2 2 3 The use case is for taxonomies only. How to I get the corresponding taxonomy for a navigation-link block? 3 ``` 4 Array 5 ( 6 [name] => tag 7 [title] => Tag Link 8 [description] => A link to a tag. 9 [attributes] => Array 10 ( 11 [type] => tag 12 [kind] => taxonomy 13 ) 4 14 5 The functions you mention map from `post_tag` to `tag` but I need the reverse. 15 ) 16 ``` 6 17 7 (`block_core_navigation_link_build_variations` does not exist yet, it's in beta. Is there an option that works for 6.4?) 18 Seems like it doesn't actually return `post_tag`, just uses it internally.