comment_row_actions

comment_row_actions

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('comment_row_actions') is found 2 times:

  • /wp-admin/includes/class-wp-comments-list-table.php line 860
    		 *                            'Approve', 'Unapprove', 'Edit', 'Reply', 'Spam',
    		 *                            'Delete', and 'Trash'.
    		 * @param WP_Comment $comment The comment object.
    		 */
    		$actions = apply_filters( 'comment_row_actions', array_filter( $actions ), $comment );
    
    		$always_visible = false;
    
    		$mode = get_user_setting( 'posts_list_mode', 'list' );
    
    		if ( 'excerpt' === $mode ) {
    
  • /wp-admin/includes/dashboard.php line 806
    			__( 'View' )
    		);
    
    		/** This filter is documented in wp-admin/includes/class-wp-comments-list-table.php */
    		$actions = apply_filters( 'comment_row_actions', array_filter( $actions ), $comment );
    
    		$i = 0;
    
    		foreach ( $actions as $action => $link ) {
    			++$i;
    
    

See this hook used in plugins: