the_content filter-hookWC 1.0

This is a WordPress - the_content hook. The plugin just uses it.

Filters the post content.

Usage

add_filter( 'the_content', 'wp_kama_the_content_filter' );

/**
 * Function for `the_content` filter-hook.
 * 
 * @param string $content Content of the current post.
 *
 * @return string
 */
function wp_kama_the_content_filter( $content ){

	// filter...
	return $content;
}
$content(string)
Content of the current post.

Where the hook is called

WC_API_Products::get_product_data()
woocommerce/includes/legacy/api/v1/class-wc-api-products.php 325
'description'        => apply_filters( 'the_content', $product->get_description() ),
woocommerce/includes/legacy/api/v1/class-wc-api-products.php 342
'purchase_note'      => apply_filters( 'the_content', $product->get_purchase_note() ),

Where the hook is used in WooCommerce

woocommerce/includes/class-wc-template-loader.php 341
add_filter( 'the_content', array( __CLASS__, 'unsupported_theme_shop_content_filter' ), 10 );
woocommerce/includes/class-wc-template-loader.php 352
add_filter( 'the_content', array( __CLASS__, 'unsupported_theme_product_content_filter' ), 10 );
woocommerce/includes/class-wc-template-loader.php 576
remove_filter( 'the_content', array( __CLASS__, 'unsupported_theme_shop_content_filter' ) );
woocommerce/includes/class-wc-template-loader.php 631
remove_filter( 'the_content', array( __CLASS__, 'unsupported_theme_product_content_filter' ) );