_wp_customize_changeset_filter_insert_post_data ( $post_data, $supplied_post_data )

  • (array) $post_data An array of slashed post data.
  • (array) $supplied_post_data An array of sanitized, but otherwise unmodified post data.
Defined at:


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.

Related Functions

_wp_delete_customize_changeset_dependent_auto_drafts, _wp_keep_alive_customize_changeset_dependent_auto_drafts, _wp_customize_publish_changeset, _wp_customize_loader_settings, _wp_translate_postdata

Top Google Results

User discussions

wpseek mobile