wc_ps_add_tinymce_plugin

The WooCommerce Predictive Search LITE wc ps add tinymce plugin function.

Description

wc_ps_add_tinymce_plugin( $plugin_array ); 

Parameters (1)

0. $plugin_array
The plugin array.

Usage

  1. if ( !function_exists( 'wc_ps_add_tinymce_plugin' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-predictive-search-lite/tinymce3/tinymce.php'; 
  3.  
  4. // The plugin array. 
  5. $plugin_array = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = wc_ps_add_tinymce_plugin($plugin_array); 
  9.  

Defined (1)

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

/tinymce3/tinymce.php  
  1. function wc_ps_add_tinymce_plugin($plugin_array) { 
  2.  
  3. $plugin_array['woocommerce_search_image'] = WOOPS_URL . '/tinymce3/editor_plugin.js'; 
  4.  
  5. return $plugin_array;