Switch language

wpseek.com
A WordPress-centric search engine for devs and theme authors




get_super_admins [ WordPress Function ]

get_super_admins ( No parameters )
Uses:
  • $super_admins
Returns:
  • (array) List of super admin logins
Defined at:



Retrieve a list of super admins.

Source


<?php
function get_super_admins() {
    global 
$super_admins;

    if ( isset(
$super_admins) )
        return 
$super_admins;
    else
        return 
get_site_option'site_admins', array('admin') );
}
?>

Examples [ wp-snippets.com ]

Google Arama Sonuçlarý

Dahasý ...

Kullanýcý Tartýþmalarý [ wordpress.org ]

- Bulunamadý -

Yeni bir konu yaz ...

0 User Note(s)

Henüz yok. Ýlk sen ol!

Yeni Ekle ...



HTML5 Powered with CSS3 / Styling, Performance & Integration, and Semantics