Class WC_Admin_Editor

WC_Admin_Editor class.

Package: WooCommerce\Admin
Author: WooThemes
Since: 2.0
Located at includes/admin/class-wc-admin-editor.php

Methods summary

public
# __construct( )

Constructor

Constructor

public
# add_shortcode_button( )

Add a button for shortcodes to the WP editor.

Add a button for shortcodes to the WP editor.

public array
# add_tinymce_lang( array $arr )

woocommerce_add_tinymce_lang function.

woocommerce_add_tinymce_lang function.

Parameters

$arr
array
$arr

Returns

array
public array
# register_shortcode_button( array $buttons )

Register the shortcode button.

Register the shortcode button.

Parameters

$buttons
array
$buttons

Returns

array
public array
# add_shortcode_tinymce_plugin( array $plugin_array )

Add the shortcode button to TinyMCE

Add the shortcode button to TinyMCE

Parameters

$plugin_array
array
$plugin_array

Returns

array
public integer
# refresh_mce( integer $ver )

Force TinyMCE to refresh.

Force TinyMCE to refresh.

Parameters

$ver
integer
$ver

Returns

integer

Magic methods summary

WooCommerce API documentation generated by ApiGen 2.8.0