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



wp_script_attributes › WordPress Filter Hooks

Da5.7.0
Deprecaton/a
› apply_filters( 'wp_script_attributes', $attributes )
Parametri:
  • () 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: Sì
Definito a:
Codex:

Filters attributes to be added to a script tag.





Sorgenti

$attributes = apply_filters( 'wp_script_attributes', $attributes );