Make WordPress Core


Ignore:
Timestamp:
08/11/2024 09:08:06 PM (18 months ago)
Author:
SergeyBiryukov
Message:

Docs: Switch canonical location for the comment_row_actions filter.

This aims to bring consistency with the other *_row_actions filters.

Follow-up to [6705], [8217], [9103], [15491], [26138], [27669].

See #61608.

File:
1 edited

Legend:

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

    r58129 r58883  
    848848        }
    849849
    850         /** This filter is documented in wp-admin/includes/dashboard.php */
     850        /**
     851         * Filters the action links displayed for each comment in the Comments list table.
     852         *
     853         * @since 2.6.0
     854         *
     855         * @param string[]   $actions An array of comment actions. Default actions include:
     856         *                            'Approve', 'Unapprove', 'Edit', 'Reply', 'Spam',
     857         *                            'Delete', and 'Trash'.
     858         * @param WP_Comment $comment The comment object.
     859         */
    851860        $actions = apply_filters( 'comment_row_actions', array_filter( $actions ), $comment );
    852861
Note: See TracChangeset for help on using the changeset viewer.