Make WordPress Core


Ignore:
Timestamp:
03/25/2020 02:41:15 PM (6 years ago)
Author:
SergeyBiryukov
Message:

Docs: Add documentation for WP_Comments_List_Table::floated_admin_avatar().

Props akbarhusen, ayeshrajans, Soean, ajayghaghretiya1, netweb, SergeyBiryukov.
Fixes #41491.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/wp-admin/includes/class-wp-comments-list-table.php

    r47234 r47507  
    5656        }
    5757
     58        /**
     59         * Adds avatars to comment author names.
     60         *
     61         * @since 3.1.0
     62         *
     63         * @param string $name       Comment author name.
     64         * @param int    $comment_ID Comment ID.
     65         * @return string Avatar with the user name.
     66         */
    5867        public function floated_admin_avatar( $name, $comment_ID ) {
    5968                $comment = get_comment( $comment_ID );
Note: See TracChangeset for help on using the changeset viewer.