WordPress как на ладони
Недорогой хостинг для сайтов на WordPress: wordpress.jino.ru
фильтр не описан

woocommerce_short_description хук-фильтр . WC 1.0

Использование

add_filter( 'woocommerce_short_description', 'filter_function_name_7589' );
function filter_function_name_7589( $product_short_description ){
	// filter...

	return $product_short_description;
}
$product_short_description
-

Где вызывается хук

WC_REST_Products_V1_Controller::get_product_data()
woocommerce_short_description
WC_API_Products::get_product_data()
woocommerce_short_description
WC_REST_Products_V2_Controller::get_product_data()
woocommerce_short_description
woocommerce/includes/api/v1/class-wc-rest-products-controller.php 473
'short_description'     => apply_filters( 'woocommerce_short_description', $product->get_short_description() ),
woocommerce/includes/api/legacy/v1/class-wc-api-products.php 326
'short_description'  => apply_filters( 'woocommerce_short_description', $product->get_short_description() ),
woocommerce/includes/api/legacy/v2/class-wc-api-products.php 752
'short_description'  => apply_filters( 'woocommerce_short_description', $product->get_short_description() ),
woocommerce/includes/api/legacy/v3/class-wc-api-products.php 1202
'short_description'  => apply_filters( 'woocommerce_short_description', $product->get_short_description() ),
woocommerce/includes/api/v2/class-wc-rest-products-v2-controller.php 600
'short_description'     => 'view' === $context ? apply_filters( 'woocommerce_short_description', $product->get_short_description() ) : $product->get_short_description( $context ),
woocommerce/templates/single-product/short-description.php 25
$short_description = apply_filters( 'woocommerce_short_description', $post->post_excerpt );

Где используется хук (в ядре WC)

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