Forums

Add CSS file to head (3 posts)

  1. garry12
    Member
    Posted 3 years ago #

    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

  2. garry12
    Member
    Posted 3 years ago #

    Can someone please help?

  3. jbjweb
    Member
    Posted 3 years ago #

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.