Signature, return type and hooks compared across 5 parsed releases.
6.7.0
Deprecated. Use current_user_can_for_site() instead.from the docblock
5.8.0
Wraps current_user_can() after switching to blog.from the docblock
5.3.0
Formalized the existing and already documented ...$args parameter by adding it to the function signature.from the docblock
3.0.0
Introduced.from the docblock
About this page
Parsed data
Generated from the wordpress-develop 7.1.0 tag, from src/wp-includes/deprecated.php, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.