Hello @nexusfred,
Thank you so much for getting in touch.
Yes, it is possible with the help of our filter code. Please see the code below to modify the social images that our plugin generates:
add_filter( 'rank_math/opengraph/facebook/image', function( $attachment_url ) { $post = get_post($_POST['post_id']); if(get_field('YOUR_IMG_FIELD_URL', $post->ID)){ return get_field('YOUR_IMG_FIELD_URL', $post->ID); } else{ return $attachment_url; } }); add_filter( 'rank_math/opengraph/twitter/image', function( $attachment_url ) { $post = get_post($_POST['post_id']); if(get_field('YOUR_IMG_FIELD_URL', $post->ID)){ return get_field('YOUR_IMG_FIELD_URL', $post->ID); } else{ return $attachment_url; } });
Please note that you have to change the field name to the correct one.
You may refer to this guide on how to add filters to your website: https://rankmath.com/kb/wordpress-hooks-actions-filters/
Hope that helps and please do not hesitate to let us know if you need our assistance with anything else.