Skip to content

the_content

github-actions[bot] edited this page Jan 2, 2026 · 1 revision

Auto-generated Example

/**
 * Callback function for the 'the_content' filter.
 *
 * @param mixed $post_content 
 * @return mixed The filtered value.
 */
function my_the_content_callback( $post_content ) {
    // Your code here.
    return $post_content;
}
add_filter( 'the_content', 'my_the_content_callback' );

Parameters

  • $post_content

Files

\apply_filters( 'the_content', $post->post_content )

← All Hooks

Clone this wiki locally