get_the_content_format
The SKT Pathway get the content format function.
Description
get_the_content_format( $str );
Parameters (1)
- 0. $str
- The str.
Usage
if ( !function_exists( 'get_the_content_format' ) ) { require_once '/inc/custom-functions.php'; } // The str. $str = null; // NOTICE! Understand what this does before running. $result = get_the_content_format($str);
Defined (1)
The function is defined in the following location(s).
- /inc/custom-functions.php
- function get_the_content_format( $str ) {
- $raw_content = apply_filters( 'the_content', $str );
- $content = str_replace( ']]>', ']]>', $raw_content );
- return $content;
- }