Hello,
Thank you for contacting Rank Math and sorry for any inconvenience that might have been caused due to that.
Rank Math doesn’t have a function like that but you could use some custom PHP filter to disable Rank Math OpenGraph data in specific posts. You could achieve it by customizing the following code to your needs:
/**
* Hook to remove og:tags in specific situations
*/
add_action( 'rank_math/head', function() {
if(/*Here goes the condition you want*/){
remove_all_actions( 'rank_math/opengraph/facebook' );
remove_all_actions( 'rank_math/opengraph/twitter' );
}
});
Looking forward to helping you. Thank you.
Hello,
Since we did not hear back from you for 15 days, we are assuming that you found the solution. We are closing this support ticket.
If you still need assistance or any other help, please feel free to open a new support ticket, and we will be more than happy to assist.
Thank you.