Enhancements to the Import/Export feature in WordPress 5.7

Enhancements to the Import/Export feature in WordPress 5.7

Author: WordPress.org

Date: February 23, 2021 

Category: Make WordPress Core

In WordPress 5.7, two main changes affected the WordPress built-in import/export feature.

A new export specific filterFilter Filters are one of the two types of Hooks https://codex.wordpress.org/Plugin_API/Hooks. They provide a way for functions to modify data of other functions. They are the counterpart to Actions. Unlike Actions, filters are meant to work in an isolated manner, and should never have side effects such as affecting global variables and output. for post title

WP 5.7 introduces creates an export-specific filter for post titles.

Since WordPress 2.5 and 2.6, post_content and post_excerpt have both had export-specific filters: the_content_export, and the_excerpt_export, respectively. post_title, however, has used the_title_rss, which behaves differently in

World of WordPress is hosted by:

Rocket.net: Build Your Site on the Fastest WordPress Platform

With Rocket, your websites will be blazing fast, always protected, and supported 24/7 by our experts with over 17 years of experience.