Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




rich_edit_exists [ WordPress Function ]

rich_edit_exists ( No parameters )
Returns:
  • (bool) Whether TinyMCE exists.
Defined at:



Determine if TinyMCE is available.

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

Source


<?php
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;
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics