Automattic\WooCommerce\Internal\Admin\ProductReviews

ReviewsListTable::filter_column_output()protectedWC 1.0

Runs a filter hook for a given column content.

{} It's a method of the class: ReviewsListTable{}

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->filter_column_output( $column_name, $output, $item ) : string;
$column_name(string|mixed) (required)
The column being output.
$output(string|mixed) (required)
The output content (may include HTML).
$item(WP_Comment|mixed) (required)
The review or reply being rendered.

Code of ReviewsListTable::filter_column_output() WC 7.1.0

protected function filter_column_output( $column_name, $output, $item ) : string {

	/**
	 * Filters the output of a column.
	 *
	 * @since 6.7.0
	 *
	 * @param string     $output The column output.
	 * @param WP_Comment $item   The product review being rendered.
	 */
	return (string) apply_filters( 'woocommerce_product_reviews_table_column_' . $column_name . '_content', $output, $item );
}