wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_dequeue_script › WordPress Function

Since3.1.0
Deprecatedn/a
wp_dequeue_script ( $handle )
Parameters:
  • (string) $handle Name of the script to be removed.
    Required: Yes
See:
  • WP_Dependencies::dequeue()
Defined at:
Codex:

Removes a previously enqueued script.



Source

function wp_dequeue_script( $handle ) {
	_wp_scripts_maybe_doing_it_wrong( __FUNCTION__, $handle );

	wp_scripts()->dequeue( $handle );
}