black_studio_tinymce_editor

The Black Studio TinyMCE Widget black studio tinymce editor hook.

Description

do_action( 'black_studio_tinymce_editor', (unknown) $instance_text, (unknown) $this_get_field_id_text, (string) $this_get_field_name_text, (unknown) $instance_type ); 

Parameters (4)

0. $instance_text (unknown)
The instance text.
1. $this_get_field_id_text (unknown)
The this get field id text.
2. $this_get_field_name_text (string)
The this get field name text.
3. $instance_type (unknown)
The instance type.

Usage

To run the hook, copy the example below.
  1. // run the action 
  2. do_action( 'black_studio_tinymce_editor', $instance_text, $this_get_field_id_text, $this_get_field_name_text, $instance_type ); 
The following example is for adding a hook callback.
  1. // define the black_studio_tinymce_editor callback 
  2. function action_black_studio_tinymce_editor( $instance_text, $this_get_field_id_text, $this_get_field_name_text, $instance_type ) { 
  3. // make action magic happen here... 
  4. }; 
  5.  
  6. // add the action 
  7. add_action( 'black_studio_tinymce_editor', 'action_black_studio_tinymce_editor', 10, 4 ); 
To remove a hook callback, use the example below.
  1. // remove the action 
  2. remove_action( 'black_studio_tinymce_editor', 'action_black_studio_tinymce_editor', 10, 4 ); 

Defined (1)

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

/includes/class-widget.php  
  1. do_action( 'black_studio_tinymce_editor', $instance['text'], $this->get_field_id( 'text' ), $this->get_field_name( 'text' ), $instance['type'] );