WP_Plugins_List_Table::ajax_user_can(): bool

In this article

Checks whether the current user can activate plugins for this screen.

Return

bool Whether the current user can activate plugins.

Source

public function ajax_user_can() {
	return current_user_can( 'activate_plugins' );
}

Changelog

VersionDescription
3.1.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.

Sponsor
SponsoredKunjungi sekarang
Promo