Filters the settings’ data that will be persisted into the changeset.
Description
Plugins may amend additional data (such as additional meta for settings) into the changeset with this filter.
Parameters
$data
array- Updated changeset data, mapping setting IDs to arrays containing a $value item and optionally other metadata.
$context
array- Filter context.
uuid
stringChangeset UUID.title
stringRequested title for the changeset post.status
stringRequested status for the changeset post.date_gmt
stringRequested date for the changeset post in MySQL format and GMT timezone.post_id
int|falsePost ID for the changeset, or false if it doesn’t exist yet.previous_data
arrayPrevious data contained in the changeset.manager
WP_Customize_ManagerManager instance.
Source
$data = apply_filters( 'customize_changeset_save_data', $data, $filter_context );
Changelog
Version | Description |
---|---|
4.7.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.