Description
Filter the image data. Image URL, Title, Caption, Description, and Alt Text.
Usage
apply_filters( 'wp_data_sync_image', $image, $post_id );
Parameters
$image | array | Image Data | $post_id | int | WP Psot ID |
Code Example
add_filter( 'wp_data_sync_image', function( $image, $post_id ) {
return $image;
), 10, 2 );