woocommerce_short_description filter-hookWC 1.0

Usage

add_filter( 'woocommerce_short_description', 'wp_kama_woocommerce_short_description_filter' );

/**
 * Function for `woocommerce_short_description` filter-hook.
 * 
 * @param  $post_excerpt 
 *
 * @return 
 */
function wp_kama_woocommerce_short_description_filter( $post_excerpt ){

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

Where the hook is called

In file: /templates/single-product/short-description.php
woocommerce_short_description
woocommerce/templates/single-product/short-description.php 24
$short_description = apply_filters( 'woocommerce_short_description', $post->post_excerpt );
woocommerce/includes/rest-api/Controllers/Version1/class-wc-rest-products-v1-controller.php 473
'short_description'     => apply_filters( 'woocommerce_short_description', $product->get_short_description() ),
woocommerce/includes/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php 689
$base_data['short_description'] = 'view' === $context ? apply_filters( 'woocommerce_short_description', $product->get_short_description() ) : $product->get_short_description( $context );
woocommerce/includes/legacy/api/v1/class-wc-api-products.php 326
'short_description'  => apply_filters( 'woocommerce_short_description', $product->get_short_description() ),
woocommerce/includes/legacy/api/v3/class-wc-api-products.php 1197
'short_description'  => apply_filters( 'woocommerce_short_description', $product->get_short_description() ),
woocommerce/includes/legacy/api/v2/class-wc-api-products.php 752
'short_description'  => apply_filters( 'woocommerce_short_description', $product->get_short_description() ),

Where the hook is used in WooCommerce

woocommerce/includes/wc-core-functions.php 50
add_filter( 'woocommerce_short_description', 'do_blocks', 9 );
woocommerce/includes/wc-core-functions.php 52
add_filter( 'woocommerce_short_description', 'wptexturize' );
woocommerce/includes/wc-core-functions.php 53
add_filter( 'woocommerce_short_description', 'convert_smilies' );
woocommerce/includes/wc-core-functions.php 54
add_filter( 'woocommerce_short_description', 'convert_chars' );
woocommerce/includes/wc-core-functions.php 55
add_filter( 'woocommerce_short_description', 'wpautop' );
woocommerce/includes/wc-core-functions.php 56
add_filter( 'woocommerce_short_description', 'shortcode_unautop' );
woocommerce/includes/wc-core-functions.php 57
add_filter( 'woocommerce_short_description', 'prepend_attachment' );
woocommerce/includes/wc-core-functions.php 58
add_filter( 'woocommerce_short_description', 'do_shortcode', 11 ); // After wpautop().
woocommerce/includes/wc-core-functions.php 59
add_filter( 'woocommerce_short_description', 'wc_format_product_short_description', 9999999 );
woocommerce/includes/wc-core-functions.php 60
add_filter( 'woocommerce_short_description', 'wc_do_oembeds' );
woocommerce/includes/wc-core-functions.php 61
add_filter( 'woocommerce_short_description', array( $GLOBALS['wp_embed'], 'run_shortcode' ), 8 ); // Before wpautop().