functions.php
/**
 * Filter function used to remove the tinymce emoji plugin.
 *
 * @param array $plugins
 * @return array Difference betwen the two arrays
 */
Filter function used to remove the tinymce emoji plugin.
@param array $plugins
@return array Difference betwen the two arrays
Filter function used to remove the tinymce emoji plugin . @param array $plugins @return array Difference betwen the two arrays
function disable_emojis_tinymce( $plugins ) {
   if ( is_array( $plugins ) ) {
      return array_diff( $plugins, array( 'wpemoji' ) );
   } else {
      return array();
   }
}
function disable_emojis_tinymce ( $ plugins ) { if ( is_array ( $ plugins ) ) { return array_diff ( $ plugins , array ( 'wpemoji' ) ) ; } else { return array ( ) ; } }
Filter function used to remove the tinymce emoji plugin.
Filter function used to remove the tinymce emoji plugin .