AnsPress_Syntax_Highlighter::mce_plugins( array $plugins )

Description #

Add tinyMCE plugin.

Parameters #

  • $plugins
    array (Required) Plugins.

Source #

File: addons/free/syntaxhighlighter.php

	public static function mce_plugins( $plugins ) {
		$plugins[ 'apsyntax' ] = ANSPRESS_URL . 'assets/js/min/tinymce-syntax.min.js';
		return $plugins;
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment