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


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

[[LINK href=""]][[/LINK]]

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

Answers (2)


Utkarsh Kukreti answers:

global $SyntaxHighlighter;

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


Pippin Williamson answers:

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

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