woocommerce_cross_sells_columns
Usage
add_filter( 'woocommerce_cross_sells_columns', 'wp_kama_woocommerce_cross_sells_columns_filter' ); /** * Function for `woocommerce_cross_sells_columns` filter-hook. * * @param $columns * * @return */ function wp_kama_woocommerce_cross_sells_columns_filter( $columns ){ // filter... return $columns; }
- $columns
- -
Where the hook is called
woocommerce_cross_sells_columns
woocommerce/includes/wc-template-functions.php 2218
wc_set_loop_prop( 'columns', apply_filters( 'woocommerce_cross_sells_columns', $columns ) );