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
'WordPress > Action Hook, Filter Hook, Function' 카테고리의 다른 글
[Wordpress] Login/Logout Redirect (0) | 2018.11.03 |
---|---|
[Wordpress] do_shortcode() function (0) | 2018.07.08 |
[Wordpress] init hook (0) | 2018.07.08 |
[Wordpress] is_user_logged_in() (0) | 2018.07.08 |
[Wordpress] wp_head action hook (0) | 2018.07.08 |