Answer the question
In order to leave comments, you need to log in
Wordpress: is it possible to make the user profile not in the control panel?
Now I want to create a second plugin for the WP personal account. The first one did everything from scratch, and a separate page for the profile. I myself started working with WP not so long ago, but it seems to me that the first time I did it was not very correct. Maybe there is some way to remove the control panel from the standard profile not for admins?
PS: I don't need plugins. I want to do it myself)
Answer the question
In order to leave comments, you need to log in
in functions.php
if (!current_user_can('administrator')):
show_admin_bar(false);
endif;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question