do action 28 27wp head 27 29 3b

Solutions on MaxInterview for do action 28 27wp head 27 29 3b by the best coders in the world

showing results for - "do action 28 27wp head 27 29 3b"
Nico
18 Jan 2020
1function hook_javascript() {
2    ?>
3        <script>
4            alert('Page is loading...');
5        </script>
6    <?php
7}
8add_action('wp_head', 'hook_javascript');
9
Eden
10 Feb 2019
1function hook_css() {
2    ?>
3        <style>
4            .wp_head_example {
5                background-color : #f1f1f1;
6            }
7        </style>
8    <?php
9}
10add_action('wp_head', 'hook_css');
11
similar questions
action page php