black_studio_tinymce_widget_update

The Black Studio TinyMCE Widget black studio tinymce widget update hook.

Description

apply_filters( 'black_studio_tinymce_widget_update', (unknown) $instance, (unknown) $instance ); 

Parameters (2)

0. $instance (unknown)
The instance.
1. $instance (unknown)
The instance.

Usage

To run the hook, copy the example below.
  1. $instance = apply_filters( 'black_studio_tinymce_widget_update', $instance, $instance ); 
  2.  
  3. if ( !empty( $instance ) ) { 
  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_widget_update callback 
  2. function filter_black_studio_tinymce_widget_update( $instance, $instance ) { 
  3. // make filter magic happen here... 
  4. return $instance
  5. }; 
  6.  
  7. // add the filter 
  8. add_filter( 'black_studio_tinymce_widget_update', 'filter_black_studio_tinymce_widget_update', 10, 2 ); 
To remove a hook callback, use the example below.
  1. // remove the filter 
  2. remove_filter( 'black_studio_tinymce_widget_update', 'filter_black_studio_tinymce_widget_update', 10, 2 ); 

Defined (1)

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

/includes/class-widget.php  
  1. $instance = apply_filters( 'black_studio_tinymce_widget_update', $instance, $this );