• Hi,
    I got the following question – from does the <?php comments_popup_script() ?> gets its js script? I’m asking this because I want to add some more js in there, so that with calling the <?php comments_popup_script() ?> I can use it on several templates, rather than using an external .js file.
    10x in advance

Viewing 2 replies - 1 through 2 (of 2 total)
  • Scott Reilly

    (@coffee2code)

    WordPress & Plugin Developer

    The function comments_popup_script() is located in wp-includes/template-functions-comment.php. It contains the javascript in the function itself and does not use an external .js file.

    Thread Starter Jordan Hlebarov

    (@jdbg)

    That’s what I needed.
    Thank you very much! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘php comments script question’ is closed to new replies.