Users can not post questions

346 viewsWordPress

I am from Russia. I have a bad English so I am writing through a translator)
Added a plugin to your site, it is very necessary.
The problem is that questions are published if you have an administrator role.
All other roles are endless loading
The site is temporarily on a free domain while it is being finalized.

Answered question

Это был редирект для всех пользователей, кроме администратора на http://site/404
wph_noadmin функция() {
если (is_admin() && !current_user_can(‘администратор’)) {
} }
add_action(‘инициализации’, ‘wph_noadmin’);


Answered question
You are viewing 1 out of 1 answers, click here to view all answers.