• In namespace Favorites\Entities\FavoriteList , FavoriteListingPresenter.php, filterMarkup function, $this->html .= apply_filters('the_content', $this->markup); should be just changed to $this->html .= $this->markup , or some other way? As the the_content hook here will apply the rendered content from other places, example page builder, i.e., whole page content generated by page builder will be injected into the markup.

    There might be a reason when the_content is used there, but it’s causing redundant/duplicated rendered content when a site uses page builder, and most of page builder use the_content to inject their rendered content.

    • This topic was modified 6 months, 3 weeks ago by quangthien27.
  • The topic ‘Should remove “the_content” filter from filterMarkup’ is closed to new replies.