The admin_footer action is triggered just after closing the <div id="wpfooter"> tag and right before admin_print_footer_scripts action call of the admin-footer.php page.
This hook is for admin only and can't be used to add anything on the front end.
This is an action hook and doesn't provide any parameters. You can echo your HTML to the browser, add JS or CSS in the admin area of your installation.
<?php add_action('admin_footer', 'my_admin_footer_function'); function my_admin_footer_function() { echo '<p>This will be inserted at the bottom of admin page</p>'; } ?>
<?php add_action('admin_footer', 'my_admin_add_js'); function my_admin_add_js() { echo '<script>alert("This will trigger an alert on the admin page.")</script>'; } ?>
You can set the priority of your action by passing the third parameter. Lower the number to higher the priority.
<?php add_action('admin_footer', 'my_admin_footer_function', 100); function my_admin_footer_function() { echo '<p>This will be inserted at the bottom of admin page</p>'; } ?>