This function executes in the footer.php file and loads before the WordPress footer hook wp_footer() and the main footer widgets and/or text.
appthemes_before_footer(); |
Example: Google Analytics
You can use this action hook to place analytics tracking software such as Google Analytics.
<?php function insert_google_analytics() { ?> <script type="text/javascript"> // Google Analytics Code Here </script> <?php } add_action( 'appthemes_after_footer', 'insert_google_analytics' ); ?> |
Changelog
- since 1.1
Source File
appthemes_before_footer()
is located in footer.php
.