Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Access to CSV Importer plugin #8525
    omfint
    Participant

    Thanks Vladimir, so what should I add or edit to the following code to include Editor?

    if(!empty($role) && in_array( ‘administrator’ , $role)){
    if ( is_user_logged_in() && current_user_can(‘manage_options’) ) {
    add_action(‘admin_menu’,array(__CLASS__,’testing_function’));
    }
    }

Viewing 1 post (of 1 total)