Ask your WordPress questions! Pay money and get answers fast! Comodo Trusted Site Seal
Official PayPal Seal

Disable admin page in ntax Highlighter Evolved plugin WordPress

  • SOLVED

I need to disable the admin page in the Syntax Highlighter Evolved plugin. It should be possible via remove_action() I assume.

[[LINK href="http://wordpress.org/extend/plugins/syntaxhighlighter/"]]http://wordpress.org/extend/plugins/syntaxhighlighter/[[/LINK]]

All I need is the PHP code to disable it via a plugin or theme.

Answers (2)

2011-01-12

Utkarsh Kukreti answers:

global $SyntaxHighlighter;

remove_action( 'admin_menu', array($SyntaxHighlighter, 'register_settings_page') );

2011-01-12

Pippin Williamson answers:

open syntaxHighLighter.php, then find and comment out (or delete) line 70:


add_action( 'admin_menu', array(&$this, 'register_settings_page') );