I’ve a 3rd get together script tag that embeds a type that masses its personal scripts and kinds. These loaded scripts embrace jQuery amongst others, and since i already used WP’s personal jQuery i wish to take away the third get together jQuery script. I’ve tried wp_head
, wp_footer
, the_content
hooks to no avail since they solely gave me the unique script tag earlier than it masses the opposite scripts.
Is there a hook that offers with the ultimate HTML after each script is downloaded and parsed? Then i may simply do a filter by regex on it.
Additionally, the scripts when loaded are appended as async
in order that complicates issues up. Is it doable to forestall the scripts to execute?