WordPress.org

Ready to get started?Download WordPress

Forums

Simple Ads Manager
Don't display TinyMCE icon for unprivileged users [fix] (2 posts)

  1. Lucas Martins
    Member
    Posted 1 year ago #

    Just insert the following code in the beginning of the method addTinyMCEPlugin, file admin.class.php:

    if(!current_user_can(SAM_ACCESS)) return $plugin_array;

    http://wordpress.org/extend/plugins/simple-ads-manager/

  2. minimus
    Member
    Plugin Author

    Posted 1 year ago #

    Thanks a lot!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.