wp_role-has_cap

method