-
Notifications
You must be signed in to change notification settings - Fork 0
the_content
github-actions[bot] edited this page Jan 2, 2026
·
1 revision
/**
* 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' );$post_content
\apply_filters( 'the_content', $post->post_content )