Uses
Uses | Description |
---|---|
wp-includes/rest-api/endpoints/class-wp-rest-comments-controller.php: WP_REST_Comments_Controller::check_read_post_permission() | Checks if the post can be read. |
wp-includes/capabilities.php: current_user_can() | Returns whether the current user has the specified capability. |
wp-includes/user.php: get_current_user_id() | Get the current user’s ID |
wp-includes/post.php: get_post() | Retrieves post data given a post ID or post object. |