WordPress.org

Support

Support » Plugins and Hacks » DJD Site Post » Upload pictures with adminastrador SI, with subscriber does not work

Upload pictures with adminastrador SI, with subscriber does not work

Viewing 3 replies - 1 through 3 (of 3 total)
  • The problem is in this function that I use for anyone to see Wp-admin
    Can you think of any solution to you?
    Thanks

    //Solo Administradores nivel4 entra en wp-Admin
    // function restringir_login(){
    // global $current_user;
    // get_currentuserinfo();
    //
    // if ($current_user->user_level < 4) {
    // wp_redirect( get_bloginfo(‘url’) );
    // exit;
    // }
    //
    // }
    // add_action(‘admin_init’, ‘restringir_login’, 1);

    The problem is in this function that I use for anyone unable to view Wp-admin

    Plugin Author djarzyna

    @djarzyna

    Sorry, but I really cannot figure out what exactly the problem is. Can you tell us something more?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Upload pictures with adminastrador SI, with subscriber does not work’ is closed to new replies.
Skip to toolbar