Home/Hooks/activate_tinymce_for_media_description
FILTER

activate_tinymce_for_media_description

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

wp-admin/includes/media.php
Line 3281
1 Parameter
View Source

Usage

add_filter( 'activate_tinymce_for_media_description', 'your_callback_function', 10, 1 );

Filter Callback:

function your_callback_function( false ) {
    // Your code here
    return false;
}

Parameters

false

Parameter 1

🔄 Filter Hook

Filter hooks allow you to modify data before it is saved to the database or displayed on the screen. Filters must return a value.