black_studio_tinymce_apply_smilies_to_widget_text

The Black Studio TinyMCE Widget black studio tinymce apply smilies to widget text function.

Description

black_studio_tinymce_apply_smilies_to_widget_text( $text ); 

Parameters (1)

0. $text
The text.

Usage

  1. if ( !function_exists( 'black_studio_tinymce_apply_smilies_to_widget_text' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'black-studio-tinymce-widget/includes/deprecated.php'; 
  3.  
  4. // The text. 
  5. $text = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = black_studio_tinymce_apply_smilies_to_widget_text($text); 
  9.  

Defined (1)

The function is defined in the following location(s).

/includes/deprecated.php  
  1. function black_studio_tinymce_apply_smilies_to_widget_text( $text ) { 
  2. _deprecated_function( __FUNCTION__, '2.0.0', 'bstw()->text_filters()->convert_smilies( ... )' ); 
  3. if ( get_option( 'use_smilies' ) ) { 
  4. $text = bstw()->text_filters()->convert_smilies( $text ); 
  5. return $text;