AnsPress_Syntax_Highlighter::init()
Description #
Initialize the addon.
Source #
File: addons/free/syntaxhighlighter.php
public static function init() {
self::brush();
anspress()->add_filter( 'wp_enqueue_scripts', __CLASS__, 'scripts' );
anspress()->add_filter( 'mce_external_plugins', __CLASS__, 'mce_plugins' );
anspress()->add_action( 'wp_footer', __CLASS__, 'output_scripts', 15 );
anspress()->add_action( 'admin_footer', __CLASS__, 'output_scripts' );
anspress()->add_filter( 'tiny_mce_before_init', __CLASS__, 'mce_before_init' );
}
Expand full source code Collapse full source code View on GitHub: addons/free/syntaxhighlighter.php:37
Add your comment