# 即将上线的帖子菜单更改——如何准备主题和插件

**URL:** https://meta.discourse.org/t/upcoming-post-menu-changes-how-to-prepare-themes-and-plugins/341014
**Category:** Development
**Tags:** dev-news
**Created:** [2024年十二月12日 21:27 UTC](https://meta.discourse.org/t/upcoming-post-menu-changes-how-to-prepare-themes-and-plugins/341014 "2024-12-12T21:27:39Z")
**Posts on this page:** 1
**Showing post:** 13

<div class="post-metadata">

### Author: ![david](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/david/32/157490_2.png) [@david](https://meta.discourse.org/u/david)
#### Post date: [2025年二月17日 16:55 UTC](https://meta.discourse.org/t/upcoming-post-menu-changes-how-to-prepare-themes-and-plugins/341014/13 "2025-02-17T16:55:30Z")

</div>

> [@bitmage](#):
>
> 另一个问题——关于调用 `api.registerValueTransformer` 时共享的“上下文”，我该如何知道将传递给我什么上下文？

恐怕我们目前没有任何中央文档。应用程序的某些区域有自己的特定文档[例如，主题列表](https://meta.discourse.org/t/customizing-the-topic-list/350411)，其中列出了上下文参数。但除此之外，最好的办法是在核心代码库中搜索 `applyTransformer` 调用，或者使用 `console.log`。

关于 transformer 的一般文档可以在这里找到：[Using Transformers to customize client-side values and behavior](https://meta.discourse.org/t/using-transformers-to-customize-client-side-values-and-behavior/349954?silent=true)

---

_[View the full topic](https://meta.discourse.org/t/upcoming-post-menu-changes-how-to-prepare-themes-and-plugins/341014)._
