If the footer content is generated by the theme's footer.php template, you would need to alter the $name
parameter passed to your 'get_footer' callback as well as add a footer template file to the theme folder called "footer-{$name}.php"
If the content was indeed added through 'wp_footer' action, be sure to remove the hook using the same priority it was added with.