private_title_format

private_title_format

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('private_title_format') is found 1 times:

  • /wp-includes/post-template.php line 160
    156
    157
    158
    159
    160
    161
    162
    163
    164
    165
    166
             * @param string  $prepend Text displayed before the post title.
             *                         Default 'Private: %s'.
             * @param WP_Post $post    Current post object.
             */
            $private_title_format = apply_filters( 'private_title_format', $prepend, $post );
     
            $post_title = sprintf( $private_title_format, $post_title );
        }
    }
     
    /**

See this hook used in plugins: