I know there are several questions about the footer, but I did not find answer to this. If this has been asked before, my apologies.
I am developing a widget plugin and I wanted to give users the choice, to display the copyright link in footer instead of the widget.
I know how to display something below the footer by just adding
add_action('wp_footer', 'my_function');
But this would add the information below the themes footer (at least in twentyfourteen and the others)
This is the code from twentyfourteen
<footer id="colophon" class="site-footer" role="contentinfo">
<?php get_sidebar( 'footer' ); ?>
<div class="site-info">
<?php do_action( 'twentyfourteen_credits' ); ?>
<a href="<?php echo esc_url( __( 'http://wordpress.org/', 'twentyfourteen' ) ); ?>"><?php printf( __( 'Proudly powered by %s', 'twentyfourteen' ), 'WordPress' ); ?></a>
</div><!-- .site-info -->
</footer><!-- #colophon -->
Is there any hook or possibilty add content inside the div class="site-info"? And make this globally possible, so that it works with other templates too that use this hook, if it exists?