wp_print_inline_script_tag


wp_print_inline_script_tag ( $javascript, $attributes = array() )

Parameters:
  • (string) javascript Inline JavaScript code.
  • (array) attributes Optional. Key-value pairs representing `<script>` tag attributes.
Defined at:

Description

Prints inline JavaScript wrapped in `