Description
Filter data to be included in the ItemRequest response.
Usage
apply_filters(
'wp_data_sync_item_request_integrations'
,
$integrations
,
$post_id
);
Parameters
$integrations | array | Integration data array | $post_id | int | WP Post ID |
Code Example
add_filter(
'wp_data_sync_item_request_integrations',
function
(
$integrations
,
$post_id
) {
//Do cool stuff here!!
return
$integrations
;
), 10, 2 );
Contact us if you need a code example for this hook. We are happy to review your request.