wc_format_content()
Format content to display shortcodes.
Хуки из функции
Возвращает
Строку
.
Использование
wc_format_content( $raw_string );
- $raw_string(строка) (обязательный)
- Raw string.
Список изменений
С версии 2.3.0 | Введена. |
Код wc_format_content() wc format content WC 8.7.0
function wc_format_content( $raw_string ) { $raw_string = $raw_string ?? ''; return apply_filters( 'woocommerce_format_content', apply_filters( 'woocommerce_short_description', $raw_string ), $raw_string ); }