Parsed: 114508
<?php /** * Core User Role & Capabilities API * * @package WordPress * @subpackage Users */ /* function map_meta_cap() – Maps a capability to the primitive capabilities required of the given user to satisfy the capability being checked. */ /* function current_user_can() – Returns whether the current user has the specified capability. */ /* function current_user_can_for_blog() – Returns whether the current user has the specified capability for a given site. */ /* function author_can() – Returns whether the author of the supplied post has the specified capability. */ /* function user_can() – Returns whether a particular user has the specified capability. */ /* function wp_roles() – Retrieves the global WP_Roles instance and instantiates it if necessary. */ /* function get_role() – Retrieve role object. */ /* function add_role() – Adds a role, if it does not exist. */ /* function remove_role() – Remove role, if it exists. */ /* function get_super_admins() – Retrieve a list of super admins. */ /* function is_super_admin() – Determine if user is a site admin. */ /* function grant_super_admin() – Grants Super Admin privileges. */ /* function revoke_super_admin() – Revokes Super Admin privileges. */ /* function wp_maybe_grant_install_languages_cap() – Filters the user capabilities to grant the ‘install_languages’ capability as necessary. */ /* function wp_maybe_grant_resume_extensions_caps() – Filters the user capabilities to grant the ‘resume_plugins’ and ‘resume_themes’ capabilities as necessary. */ /* function wp_maybe_grant_site_health_caps() – Filters the user capabilities to grant the ‘view_site_health_checks’ capabilities as necessary. */ return; // Dummy gettext calls to get strings in the catalog. /* translators: User role for administrators. */ _x( 'Administrator', 'User role' ); /* translators: User role for editors. */ _x( 'Editor', 'User role' ); /* translators: User role for authors. */ _x( 'Author', 'User role' ); /* translators: User role for contributors. */ _x( 'Contributor', 'User role' ); /* translators: User role for subscribers. */ _x( 'Subscriber', 'User role' );