wc_format_content()
Format content to display shortcodes.
Hooks from the function
Return
String
.
Usage
wc_format_content( $raw_string );
- $raw_string(string) (required)
- Raw string.
Changelog
Since 2.3.0 | Introduced. |
wc_format_content() wc format content code 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 ); }