WPDev.one
Core Function
View Source on Trac ↗

user_can_access_admin_page()

user_can_access_admin_page( )

Determines whether the current user can access the current admin page.

Return Value

(bool)
True if the current user can access the admin page, false otherwise.

Function Information

Since Version
1.5.0
Source File
wp-admin/includes/plugin.php
Advertisement