WordPress/Action Hook, Filter Hook, Function
[Wordpress] wp_footer() function
cpu21
2018. 7. 8. 17:19
wp_footer()
Fire the wp_footer action.
Fire the 'wp_footer' action. Put this template tag immediately before </body> tag in a theme template (ex. footer.php, index.php).
add_action('wp_footer', 'my_function');
add_action('wp_footer', 'my_function1');
function my_function1( ) {
echo '<div style="display:none">My Text</div>';
}
https://developer.wordpress.org/reference/functions/wp_footer/
https://codex.wordpress.org/Function_Reference/wp_footer
https://codex.wordpress.org/Plugin_API/Action_Reference/wp_footer