Title: rich_edit_exists
Published: April 25, 2014
Last modified: May 20, 2026

---

# rich_edit_exists(): bool

## In this article

 * [Description](https://developer.wordpress.org/reference/functions/rich_edit_exists/?output_format=md#description)
 * [Return](https://developer.wordpress.org/reference/functions/rich_edit_exists/?output_format=md#return)
 * [Source](https://developer.wordpress.org/reference/functions/rich_edit_exists/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/functions/rich_edit_exists/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/functions/rich_edit_exists/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/functions/rich_edit_exists/?output_format=md#wp--skip-link--target)

This function has been deprecated since 3.9.0.

Determine if TinyMCE is available.

## 󠀁[Description](https://developer.wordpress.org/reference/functions/rich_edit_exists/?output_format=md#description)󠁿

Checks to see if the user has deleted the tinymce files to slim down their WordPress
installation.

## 󠀁[Return](https://developer.wordpress.org/reference/functions/rich_edit_exists/?output_format=md#return)󠁿

 bool Whether TinyMCE exists.

## 󠀁[Source](https://developer.wordpress.org/reference/functions/rich_edit_exists/?output_format=md#source)󠁿

    ```php
    function rich_edit_exists() {
    	global $wp_rich_edit_exists;
    	_deprecated_function( __FUNCTION__, '3.9.0' );

    	if ( ! isset( $wp_rich_edit_exists ) )
    		$wp_rich_edit_exists = file_exists( ABSPATH . WPINC . '/js/tinymce/tinymce.js' );

    	return $wp_rich_edit_exists;
    }
    ```

[View all references](https://developer.wordpress.org/reference/files/wp-includes/deprecated.php/)
[View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-includes/deprecated.php#L3418)
[View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-includes/deprecated.php#L3418-L3426)

## 󠀁[Related](https://developer.wordpress.org/reference/functions/rich_edit_exists/?output_format=md#related)󠁿

| Uses | Description | 
| [_deprecated_function()](https://developer.wordpress.org/reference/functions/_deprecated_function/)`wp-includes/functions.php` |

Marks a function as deprecated and inform when it has been used.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/functions/rich_edit_exists/?output_format=md#changelog)󠁿

| Version | Description | 
| [3.9.0](https://developer.wordpress.org/reference/since/3.9.0/) | Deprecated.  | 
| [2.1.0](https://developer.wordpress.org/reference/since/2.1.0/) | Introduced. |

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Ffunctions%2Frich_edit_exists%2F)
before being able to contribute a note or feedback.