wpseek.com
Un motore di ricerca WordPress per sviluppatori e autori di temi



wp_inline_script_attributes › WordPress Filter Hooks

Da5.7.0
Deprecaton/a
apply_filters( 'wp_inline_script_attributes', $attributes, $data )
Parametri: (2)
  • (array) $attributes Key-value pairs representing `<script>` tag attributes. Only the attribute name is added to the `<script>` tag for entries with a boolean value, and that are true.
    Richiesto:
  • (string) $data Inline data.
    Richiesto:
Definito a:
Codex:

Filters attributes to be added to a script tag.





Sorgenti

$attributes = apply_filters( 'wp_inline_script_attributes', $attributes, $data );