Support » Plugins and Hacks » Adding javascript to pages

  • shidouhikari

    (@shidouhikari)


    For adding external .js files, we use wp_enqueue_script()

    And for adding inline code, directly to the page? Should we use wp-footer action, or is there a specific hook for this situation?

  • The topic ‘Adding javascript to pages’ is closed to new replies.