Opens in a new tab
A picture of Jeff Brigman
I CODE TODAY FOR
A BETTER TOMORROW

Glossary Term

wp_get_inline_script_tag()

3 tags 1 category

wp_get_inline_script_tag() — Constructs an inline script tag. It is possible to inject attributes in the <script> tag via the {

Inputs: $data (string): Data for script tag: JavaScript, importmap, speculationrules, etc.

Returns string: HTML script tag containing the provided $data or the empty string “” if the data cannot be safely embedded in a script tag.

Term Connections

Explore related terms connected by shared tags, shared categories, and relationship phrases. This map loads only when it comes into view.

Loading term connections…