Hey there,
As per the documentation, the rest_output_link_header() function sends a Link header for the REST API. As such, it has nothing to do with embeds.
The link headers are important for scripts to detect the REST API in WordPress, so plugins like WP-API and others can work as expected. The Disable Embeds plugin already disables the oEmbed REST API endpoint, nothing else is needed on that side.
tl;dr: Adding such a line is not needed to disable embeds.
Thread Starter
B0RG
(@b0rg)
AH, ok, thank you very much for clarification!
Keep up the good work :)!