1 2 3 4 5 6 function yonetim_paneli_engeli() { if ( false !== strpos( strtolower( $_SERVER['REQUEST_URI'] ), '/wp-admin' ) && !current_user_can( 'edit_posts' ) ) wp_redirect( home_url() ); } add_action( 'init', 'yonetim_paneli_engeli', 0 ); kiehl's |