芝麻web文件管理V1.00
编辑当前文件:/home/mybf1/public_html/pati.bf1.my/wp-content/plugins/all-in-one-seo-pack/app/Common/Rss.php
addRssContent( $content, 'excerpt' ); } /** * Adds content before or after the RSS post. * * @since 4.0.0 * * @param string $content The * @return void */ public function addRssContent( $content, $type = 'complete' ) { $content = trim( $content ); if ( empty( $content ) ) { return ''; } if ( is_feed() ) { $before = aioseo()->tags->replaceTags( aioseo()->options->rssContent->before, get_the_ID() ); $after = aioseo()->tags->replaceTags( aioseo()->options->rssContent->after, get_the_ID() ); if ( $before || $after ) { if ( 'excerpt' === $type ) { $content = wpautop( $content ); } $content = aioseo()->helpers->decodeHtmlEntities( $before ) . $content . aioseo()->helpers->decodeHtmlEntities( $after ); } } return $content; } }