Menu Adam R Brown

WP hooks navigation: Home/browseActions indexFilters index

Source View: the_title_export

To save our bandwidth, we show only a snippet of code around each occurence of the hook. View complete file in SVN (without highlighting).

Understanding Source Code

The best way to understand what a hook does is to look at where it occurs in the source code.

Remember, this hook may occur in more than one file. Moreover, the hook's context may change from version to version.

Source View

Line Code
543                     setup_postdata( $post );
544
545                     /**
546                      * Filters the post title used for WXR exports.
547                      *
548                      * @since 5.7.0
549                      *
550                      * @param string $post_title Title of the current post.
551                      */
552                     $title = wxr_cdata( apply_filters( 'the_title_export', $post->post_title ) );
553
554                     /**
555                      * Filters the post content used for WXR exports.
556                      *
557                      * @since 2.5.0
558                      *
559                      * @param string $post_content Content of the current post.
560                      */
561                     $content = wxr_cdata( apply_filters( 'the_content_export', $post->post_content ) );