I saw this post involving tags. But I can't figure out which

 * Display advanced TinyMCE editor in taxonomy page
function wpse_7156_enqueue_category() {
global $pagenow, $current_screen;

if( $pagenow == 'edit-tags.php' ) {
    require_once(ABSPATH . 'wp-admin/includes/post.php');
    require_once(ABSPATH . 'wp-admin/includes/template.php');

    wp_tiny_mce( false, array( 'editor_selector' => 'description', 'elements' => 'description', 'mode' => 'exact' ));
 add_action( 'init', 'wpse_7156_enqueue_category' );

This seems to have been rendered redundant in newer versions of WordPress. But I wonder if it could be used for attachments? I just need to know the include for that attachment editing page?

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.