woocommerce_format_content filter-hookWC 2.3.0

Format content to display shortcodes.

Usage

add_filter( 'woocommerce_format_content', 'wp_kama_woocommerce_format_content_filter' );

/**
 * Function for `woocommerce_format_content` filter-hook.
 * 
 * @param  $raw_string 
 *
 * @return 
 */
function wp_kama_woocommerce_format_content_filter( $raw_string ){

	// filter...
	return $raw_string;
}
$raw_string
-

Changelog

Since 2.3.0 Introduced.

Where the hook is called

wc_format_content()
woocommerce_format_content
woocommerce/includes/wc-formatting-functions.php 1098
return apply_filters( 'woocommerce_format_content', apply_filters( 'woocommerce_short_description', $raw_string ), $raw_string );

Where the hook is used in WooCommerce

Usage not found.