woocp_addbuttons

The WooCommerce Compare Products LITE woocp addbuttons function.

Description

woocp_addbuttons(); 

Usage

  1. if ( !function_exists( 'woocp_addbuttons' ) ) { 
  2. require_once ABSPATH . PLUGINDIR . 'woocommerce-compare-products-lite/tinymce3/tinymce.php'; 
  3.  
  4.  
  5. // NOTICE! Understand what this does before running. 
  6. $result = woocp_addbuttons(); 
  7.  

Defined (1)

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

/tinymce3/tinymce.php  
  1. function woocp_addbuttons() { 
  2.  
  3. // Add only in Rich Editor mode 
  4. if ( get_user_option('rich_editing') == 'true') { 
  5.  
  6. // add the button for wp25 in a new way 
  7. add_filter("mce_external_plugins", "woocp_add_tinymce_plugin", 5);