function rich_edit_exists() {}

Determine if TinyMCE is available.
Checks to see if the user has deleted the tinymce files to slim down there WordPress install.

Return values

returns:Whether TinyMCE exists.

Source code

function rich_edit_exists() {

	global $wp_rich_edit_exists;

	if ( !isset($wp_rich_edit_exists) )

		$wp_rich_edit_exists = file_exists(ABSPATH . WPINC . '/js/tinymce/tiny_mce.js');

	return $wp_rich_edit_exists;



No comments yet... Be the first to leave a reply!

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: