A WordPress-centric search engine for devs and theme authors



media_buttons_context ›

Since2.5.0
Deprecated
apply_filters( 'media_buttons_context', '' )
Parameters:
  • (string) $string Media buttons context. Default empty.
    Required: Yes
Defined at:
Codex:

Filters the legacy (pre-3.5.0) media buttons.

Use {@see 'media_buttons'} action instead.





Source

$legacy_filter = apply_filters( 'media_buttons_context', '' );