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' );
	}

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