Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Paul Bearne

    (@pbearne)

    Not yet

    That sounds like a good idea to be able to control

    I will add it. But it will take I little of time to get to it.

    I need to work out the best way to do this

    Would you be happy added a filter in your functions file or does this need to be an option in admin?

    Paul

    Thread Starter alexterchum

    (@alexterchum)

    I’m cool with adding a filter but I’m not sure what should I add.
    Looking forward to the upgrade 🙂

    Plugin Author Paul Bearne

    (@pbearne)

    Hi

    Added a filter for this

    Here is the code you will need

    add_filter( 'AA_user_level_for_editor', function( $user_level ){ return 'edit_theme_options'; } );

    Here is the list of Capabilities that you can return to set the access level
    http://codex.wordpress.org/Roles_and_Capabilities#Capabilities

    I ahve pushed this to wordpress.org yet so u=you will need to get it from github

    https://github.com/pbearne/wp-author-avatars/archive/master.zip

    and install it over the current plugin it will be in the next version

    Please can you test and let me know if it all works

    Paul

    Plugin Author Paul Bearne

    (@pbearne)

    changed name to aa_user_level_for_editor

    Thread Starter alexterchum

    (@alexterchum)

    Fatal error: Cannot redeclare AA_shortcode_paging() (previously declared in /home/umbrellah2/domains/umbrellahehe.com/public_html/wp-content/plugins/author-avatars/author-avatars.php:29) in /home/umbrellah2/domains/umbrellahehe.com/public_html/wp-content/plugins/wp-author-avatars-master/author-avatars.php on line 40
    Cannot install the plugin.

    Plugin Author Paul Bearne

    (@pbearne)

    looks like you had both installed try using FTP to up load the contents of the zip

    Paul

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Hide button in TinyMCE’ is closed to new replies.