# Where is addToolbarPopupMenuOption?

**URL:** <https://meta.discourse.org/t/where-is-addtoolbarpopupmenuoption/300205>\
**Category:** Development\
**Created:** [March 20, 2024, 4:49pm UTC](https://meta.discourse.org/t/where-is-addtoolbarpopupmenuoption/300205 "2024-03-20T16:49:55Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [March 20, 2024, 5:03pm UTC](https://meta.discourse.org/t/where-is-addtoolbarpopupmenuoption/300205/2 "2024-03-20T17:03:49Z")

</div>

Looks like we have a typo in the deprecation message. Fix here: [DEV: Fix toolbar API deprecation message by davidtaylorhq · Pull Request #26266 · discourse/discourse · GitHub](https://github.com/discourse/discourse/pull/26266)

This is the one you want:

> <https://github.com/discourse/discourse/blob/e3cfb1967d531a09b475bba45b33605eabd5a0d8/app/assets/javascripts/discourse/app/lib/plugin-api.gjs#L747-L779>

---

_[View the full topic](https://meta.discourse.org/t/where-is-addtoolbarpopupmenuoption/300205)._
