_wp_customize_changeset_filter_insert_post_data
_wp_customize_changeset_filter_insert_post_data ( $post_data, $supplied_post_data )
Parameters:- (array) post_data An array of slashed post data.
- (array) supplied_post_data An array of sanitized, but otherwise unmodified post data.
See:Returns:Defined at: - Introduced in WordPress: 4.7.0
- Deprecated in WordPress: —
Description
Filters changeset post data upon insert to ensure post_name is intact.This is needed to prevent the post_name from being dropped when the post is
transitioned into pending status by a contributor.