woocommerce_review_gravatar_size filter-hookWC 1.0

Display the review authors gravatar

Usage

add_filter( 'woocommerce_review_gravatar_size', 'wp_kama_woocommerce_review_gravatar_size_filter' );

/**
 * Function for `woocommerce_review_gravatar_size` filter-hook.
 * 
 * @param array $comment WP_Comment.
 *
 * @return array
 */
function wp_kama_woocommerce_review_gravatar_size_filter( $comment ){

	// filter...
	return $comment;
}
$comment(array)
WP_Comment.

Where the hook is called

woocommerce_review_display_gravatar()
woocommerce_review_gravatar_size
woocommerce/includes/wc-template-functions.php 2012
echo get_avatar( $comment, apply_filters( 'woocommerce_review_gravatar_size', '60' ), '' );

Where the hook is used in WooCommerce

Usage not found.