woocommerce_product_reviews_table_columns
Filters the table columns.
Usage
add_filter( 'woocommerce_product_reviews_table_columns', 'wp_kama_woocommerce_product_reviews_table_columns_filter' ); /** * Function for `woocommerce_product_reviews_table_columns` filter-hook. * * @param array $columns * * @return array */ function wp_kama_woocommerce_product_reviews_table_columns_filter( $columns ){ // filter... return $columns; }
- $columns(array)
- -
Changelog
Since 6.7.0 | Introduced. |
Where the hook is called
woocommerce_product_reviews_table_columns
woocommerce/src/Internal/Admin/ProductReviews/ReviewsListTable.php 629
return (array) apply_filters( 'woocommerce_product_reviews_table_columns', $columns );