wp_deregister_script

SummerySummery

Remove a registered script.

Syntax

wp_deregister_script( string $handle )

DescriptionDescription

Note: there are intentional safeguards in place to prevent critical admin scripts, such as jQuery core, from being unregistered.

ParametersParameters

$handle

(string) (Required) Name of the script to be removed.

SourceSource

File: wp-includes/functions.wp-scripts.php


			

ChangelogChangelog

Changelog
Version Description
2.1.0 Introduced.

See alsoSee also

Scroll to Top