wpseek.com
WordPress开发者和主题制作者的搜索引擎
the_content › WordPress Function
Since0.71
已弃用n/a
› the_content ( $more_link_text = null, $strip_teaser = false )
参数: (2) |
|
定义在: |
|
文档: |
Displays the post content.
Related Functions: get_the_content, the_content_rss, the_comment, the_content_feed, get_the_content_feed
源码
function the_content( $more_link_text = null, $strip_teaser = false ) { $content = get_the_content( $more_link_text, $strip_teaser ); /** * Filters the post content. * * @since 0.71 * * @param string $content Content of the current post. */ $content = apply_filters( 'the_content', $content ); $content = str_replace( ']]>', ']]>', $content ); echo $content; }