You can use this function to get email of all the Administrator on a WordPress website
function get_administrator_email(){
$blogusers = get_users('role=Administrator');
//print_r($blogusers);
foreach ($blogusers as $user) {
echo $user->user_email;
}
}
Related Posts:
- How to disable the “Your site has updated to WordPress x.y.z” admin email?
- Custom admin email for new user registration
- Send Admin Emails to Multiple Email Addresses
- Send automatic mail to Admin when user/member changes/adds profile
- How can ‘admin_email’ be set?
- Turn off admin emails for new user registrations
- Send email to Admin when user/member updates specific user/member data
- Can I mass change all admin emails for a multisite instance?
- When admin changes a password for a registered user, I don’t want to send a password change email to users
- How can all E-mails be sent with BCC copy to Admin?
- When admin approves a registered user, I don’t want to send a notification email to users
- how to disable the e-mail verification on wp-admin/options-general.php multisite admin e-mail
- How to disable the “Your site has updated to WordPress x.y.z” admin email?
- Buddypress send admin notification email when new subscriber registers
- New User Notification – Setting Email
- Woo Commerce Settings for Check-out Form [closed]
- What are the standard admin CSS id/class tags?
- How to remove entire admin menu?
- The website cannot display the page
- Set Default Admin Colour For All Users
- How can I target WordPress 3.8 new interface MP6 with CSS?
- Settings API – easiest way of validating checkboxes?
- initial sort order for a sortable custom column in admin
- Uploading files in admin panel?
- Redirect Admin User in Dashboard
- Read only capability for custom post in admin area
- How To View Site from Non-Logged-In User’s Perspective
- Conditional check for front-end which includes ajax
- Hide update messages from non-admin users?
- Reorder plugin items in the admin menu
- Reference external file as a function
- “Automatically add new top-level pages” Default
- Is it possible to hook AJAX to UPDATE-button?
- Different color admin bars for dev, staging and production
- WordPress manage users as non admin
- remove_action with profile_personal_options
- With WP 3.4 customizer, while using postMessage & working within your JS for one option, can you retrieve current value for another option?
- Refreshing collections in the admin media manager
- $user_id vs. is_user_logged_in()
- Conditionally load CSS/JS/PHP in wp-admin if using a mobile device
- Assuming a theme is properly secured, how save is the WordPress admin?
- Is there a way to hook into the update-core page for custom messages?
- How to solve 500 Error on WordPress Admin Dashboard due to time-out on getdirsize
- Enabling users to replace site title (text) with a image logo (but keeping the text if there isn’t any image)?
- WordPress How to begin editing from admin page (please see picture)
- WordPress as a web app – always auto-save post and meta data
- Determining whether it’s a AJAX call from front-end or from back-end
- Disable the “Skip to Toolbar” tabbing accessibility feature
- WooCommerce – Email admin with new user details
- Super slow admin panel
- My WordPress Admin looks messed up when I edit posts or pages
- Save author posts as in pending review – block users updating their posts
- POMO_Reader->substr() call endless loop?
- jQuery UI AutoComplete & wp_enqueue_script
- Plugin admin panel JavaScript Broken
- Force Contributors to add Tags via edit-tags.php
- Edit Auto Update Admin Notification
- Unable to Access WP Admin or Login buttons after Migration
- Enqueue and Dequeue from admin bar nodes
- How to enqueue admin content outside admincp
- admin_enqueue_scripts the same css file as wp_enqueue_style
- Where can I store common cross-site text (e.g. headings, titles etc.)
- get_current_screen and the WP_Screen class
- Is there alternative to WP_List_Table?
- How to change all “Post” texts in dahboard into “Article”?
- Filter WooCommerce Orders
- How to disable Media Library uploads for non-Admin users?
- Page can’t hand request – HTTP ERROR 500 – when updating something
- How to change the User name and Password of admin account
- Redirect public site to another one but allow administrators to access the old site
- Posts in sidebar only by admin
- Display an image of selected template in admin to aid user when using complex templates
- How to remove the default checked attribute from inputs in admin?
- Passing state from child component to parent component in a Gutenberg Sidebar
- Admin user column sort by numeric meta key
- Shop in Subdomain feeding main domain order in admin area
- Can I retrieve Published changes when changes have been Saved but not Published in WordPress Semplice?
- I can’t access login page
- Admin Access for specific page(s)
- Get Link of Page Selected through a Select Field in Custom Admin Page
- Sortable admin columns by 0.00 number
- WordPress Admin Thickbox: Remove Margins/Padding
- WordPress Admin Email
- conditionally update css on edit.php
- Simple CSS admin pagination
- Can I show the tag admin interface on a post when logged in as an admin?
- Editing post in admin panel
- Making a custom upload form and page in the admin section
- Customise the add media pop-up to include rel attribute option
- WordPress gallery image link gives 404 when not logged in
- Custom Div with links on Admin Bar
- Remove “minor-publishing” div from Publish admin metabox
- How to fix broken admin Thickbox?
- Can’t access my wp admin: captcha images invisible, gives me error message
- Pull Random Images From Options Page [closed]
- You do not have permission to access this document on form submit
- 2FA for admin login only, is it doable?
- Add a user to edit the layout of a site
- CSS Styles specific to Admin Sidebar not loading
- Display notice in block editor after wp_insert_post_data hook