Hey @dannydawber,
It seems that I was mistaken last week (first time I got this question so you have my apologies).
Discord is actually using the oEmbed JSON that is output by WordPress Core. You currently cannot control this via AIOSEO. I’ve opened an issue in our GitHub repository so that we can discuss this with the team and possibly add in a future update, but for now, the only way you can remove your username is by filtering it out using WordPress’ oembed_response_data
filter hook – https://developer.www.ads-software.com/reference/hooks/oembed_response_data/
Something like this should work –
function filter_oembed_response_data_author( $data, $post, $width, $height ) {
unset($data['author_name']);
unset($data['author_url']);
return $data;
};
add_filter( 'oembed_response_data', 'filter_oembed_response_data_author', 10, 4 );