ეს პლაგინი არ დატესტილა WordPress-ის 3 ძირითად ვერსიაზე. როგორც ჩანს, ის უკვე აღარ არის მხარდაჭერილი და შესაძლოა არ იყოს თავსებადი WordPress-ის მიმდინარე ვერსიასთან.

Only Admins

აღწერა

Only Admins is a minimal plugin that restricts your entire WordPress site to Admins.

Best used as a MU-Plugin on Development and Staging sites.

დაყენება

Plugin Directory

Install Only Admins as you would any other plugin.

  1. Go to Plugins > Add New.
  2. Search for Only Admins.
  3. Download and activate.

Must-Use Plugin

Only Admins works really well as a Must-Use Plugins. MU-Plugins cannot be disabled or edited by mistake.

To install Only Admins as a MU Plugin:

  1. Download the source.
  2. Create a mu-plugins folders in your wp-content directory (if doesn’t already exist).
  3. Copy onlyadmins.php (not its enclosing folder) to mu-plugins.

ხდკ

Can I change the required user role?

Only Admins has no configuration, so there is no interface to change the user role.

That being said, you can simply edit it (its only a few lines long).

Simply change current_user_can( 'administrator' ) to whichever role or capability you’d like.

მიმოხილვები

There are no reviews for this plugin.

მონაწილეები & დეველოპერები

“Only Admins” ღია პროგრამული უზრუნველყოფაა. შემდეგმა ადამიანებმა წვილი შეიტანეს მის განვითარებაში.

მონაწილეები

გადათარგმნეთ Only Admins თქვენს ენაზე.

დაინტერესებული ხართ დეველოპმენტით?

დაათვალიერეთ კოდი, შეამოწმეთ SVN რეპო, ან გამოიწერეთ შექმნის ჟურნალი : RSS.

ცვლილებები

1.1

  • Log out link when no access
  • Require ABSPATH
  • Typo fix