• Just wondering what the action is to add some text to the head of the page from within a plugin.

    i tried add_action(‘wp_head’, ‘some_head_function’);
    and

    function some_head_function() {
        echo "test";
    }

    but it didn’t work

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Add CSS file to head’ is closed to new replies.