bbp_replace_the_content

  • apply_filters( 'bbp_replace_the_content', $new_content, $content )

    Source Reference:

    • Component: bbPress :: bbp-core
      File: /bbp-includes/bbp-core-compatibility.php :: Trac Source Line: 1227
      					break;
      			}
      		}
      
      		// Juggle the content around and try to prevent unsightly comments
      		if ( !empty( $new_content ) && ( $new_content != $content ) ) {
      
      			// Set the content to be the new content
      			$content = apply_filters( 'bbp_replace_the_content', $new_content, $content );
      
      			// Clean up after ourselves
      			unset( $new_content );
      
      			/**
      			 * Supplemental hack to prevent stubborn comments_template() output.
      			 *
      			 * By this time we can safely assume that everything we needed from
      			 * the {$post} global has been rendered into the buffer, so we're
      			 * going to empty it and {$withcomments} for good measure. This has
      

Comments are closed.