Description
Filter the data keys sent to the WP Data Sync API. These are the keys for field mapping.
Usage
apply_filters(
'wp_data_sync_data_keys'
,
$keys
);
Parameters
$keys | array | Array of data keys for field mapping |
Code Example
add_filter(
'wp_data_sync_data_keys',
function
(
$keys
) {
//Do cool stuff here!!
return
$keys
;
), 10, 1 );
Contact us if you need a code example for this hook. We are happy to review your request.