black_studio_tinymce_after_text

The Black Studio TinyMCE Widget black studio tinymce after text hook.

Description

apply_filters( 'black_studio_tinymce_after_text', (string) $div, (unknown) $instance ); 

Parameters (2)

0. $div (string) => '
'
The div.
1. $instance (unknown)
The instance.

Usage

To run the hook, copy the example below.
  1. $div = apply_filters( 'black_studio_tinymce_after_text', $div, $instance ); 
  2.  
  3. if ( !empty( $div ) ) { 
  4.  
  5. // everything has led up to this point... 
  6.  
  7.  
The following example is for adding a hook callback.
  1. // define the black_studio_tinymce_after_text callback 
  2. function filter_black_studio_tinymce_after_text( $div, $instance ) { 
  3. // make filter magic happen here... 
  4. return $div
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'black_studio_tinymce_after_text', 'filter_black_studio_tinymce_after_text', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'black_studio_tinymce_after_text', 'filter_black_studio_tinymce_after_text', 10, 2 ); 

Defined (1)

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

/includes/class-widget.php  
  1. $after_text = apply_filters( 'black_studio_tinymce_after_text', '</div>', $instance );