wpseek.com
Bazujące na WordPress narzędzie wyszukiwania dla deweloperów i twórców motywów.



wp_dequeue_script_module › WordPress Function

Od6.5.0
Przestarzałyn/a
wp_dequeue_script_module ( $id )
Parametry:
  • (string) $id The identifier of the script module.
    Wymagane: Tak
Zdefiniowane na:
Codex:

Unmarks the script module so it is no longer enqueued in the page.



Źródło

function wp_dequeue_script_module( string $id ) {
	wp_script_modules()->dequeue( $id );
}