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

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

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

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

	return $product_short_description;
}
$product_short_description
-

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

WC_API_Products::get_product_data()
woocommerce_short_description
WC_REST_Products_V2_Controller::get_product_data()
woocommerce_short_description
WC_REST_Products_V1_Controller::get_product_data()
woocommerce_short_description
FeaturedProduct::render()
woocommerce_short_description
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/v2/class-wc-api-products.php 752
'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/rest-api/Controllers/Version2/class-wc-rest-products-v2-controller.php 616
'short_description'     => 'view' === $context ? apply_filters( 'woocommerce_short_description', $product->get_short_description() ) : $product->get_short_description( $context ),
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/templates/single-product/short-description.php 24
$short_description = apply_filters( 'woocommerce_short_description', $post->post_excerpt );
woocommerce/packages/woocommerce-blocks/src/BlockTypes/FeaturedProduct.php 72
apply_filters( 'woocommerce_short_description', $product->get_short_description() ? $product->get_short_description() : wc_trim_string( $product->get_description(), 400 ) )

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

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