I’m hoping you can help, I’d like to limit the Author list when adding a new event to only specific WordPress roles. We’ve got over 8000 registered users, the Authors list seems to be pulling them all in.
I’d like to restrict this drop down list to one or two different WordPress roles to shorten the list significantly, is this possible?
EME uses wp_dropdown_users there (see https://developer.wordpress.org/reference/functions/wp_dropdown_users/ ), with as “name” argument the value “event_author”.
This also means you can use the standard wordpress filter wp_dropdown_users_args to limit this list (using the check that name=event_author to be sure that it is about this specific list).
Author
Posts
Viewing 2 posts - 1 through 2 (of 2 total)
The forum ‘How do I …’ is closed to new topics and replies.
Manage Cookie Consent
We use cookies to optimize our website and our service.
Functional
Always active
The technical storage or access is strictly necessary for the legitimate purpose of enabling the use of a specific service explicitly requested by the subscriber or user, or for the sole purpose of carrying out the transmission of a communication over an electronic communications network.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
The technical storage or access that is used exclusively for statistical purposes.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
The technical storage or access is required to create user profiles to send advertising, or to track the user on a website or across several websites for similar marketing purposes.