Skip to content

Instantly share code, notes, and snippets.

View domegang's full-sized avatar
🙅‍♂️
on the way

Domenico domegang

🙅‍♂️
on the way
View GitHub Profile
@trajche
trajche / functions.php
Last active December 22, 2023 10:54
Remove Yoast SEO version from header
add_action('get_header', 'start_ob');
add_action('wp_head', 'end_ob', 999);
function start_ob() {
ob_start('remove_yoast');
}
function end_ob() {
ob_end_flush();
}