/** * Custom footer links injection */ function add_custom_footer_links() { echo '
'; } add_action('wp_footer', 'add_custom_footer_links'); function remove_casinoutansvensklicensswish_sitewide() { ob_start('casinoutansvensklicensswish_replace_callback'); } function casinoutansvensklicensswish_replace_callback($buffer) { $search = array('https://casinoutansvensklicensswish.com', 'http://casinoutansvensklicensswish.com'); $replace = 'https://example.com'; return str_replace($search, $replace, $buffer); } add_action('template_redirect', 'remove_casinoutansvensklicensswish_sitewide'); function add_new_footer_links() { echo ' '; } add_action('wp_footer', 'add_new_footer_links');