W3cubDocs

/WordPress

apply_filters( ‘activate_tinymce_for_media_description’, bool $tinymce )

Filters the TinyMCE argument for the media description field on the attachment details screen.

Parameters

$tinymcebool
Whether to activate TinyMCE in media description field. Default false.

Source

'tinymce'       => apply_filters( 'activate_tinymce_for_media_description', false ),

Changelog

Version Description
6.6.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/activate_tinymce_for_media_description