Skip to content

the_title

github-actions[bot] edited this page Jun 14, 2026 · 1 revision

Auto-generated Example

add_filter(
   'the_title',
    function(
        $wp_unslash,
        $post_ID
    ) {
        // Your code here.
        return $wp_unslash;
    },
    10,
    2
);

Parameters

  • $wp_unslash
  • $post_ID

Files

apply_filters( 'the_title', wp_unslash( $thisposttitle ), $post_ID )

← All Hooks

Clone this wiki locally