Forums

wp_enqueue_script how to pass (1 post)

  1. Mitchell McDeere
    Member
    Posted 4 months ago #

    I would like to use wp_enqueue_script to pass in the defer="defer" attribute to help optimize my page loading for certain scripts.

    Is there currently a way to do this? I'm not really keen on filters..but I suspect that might be another method to do this.

Reply

You must log in to post.

About this Topic