GeneralScript 1Script 2Script 3Script 4Script 5OverviewUse this tool to create custom code for Script Registration with wp_register_script() function.UsageFill in the user-friendly form.Click the “Update Code” button.Copy the code to your project.Or save it as a snippet and share with the community.ExamplesIf you are still learning how to use this tool, check out the following examples:jQuery 1.x & jQuery MigratejQuery 2.x & Bootstrap 3.2Custom admin scriptCustom login scriptFunction Name The function used in the code.Hook wp_enqueue_scriptslogin_enqueue_scriptsadmin_enqueue_scriptsenqueue_embed_scripts Where to enqueue? Front end, login, admin or embed.Script 1 Handle/Name Name used in the code as a script handle.Script URL URL to the script.Script Dependencies Comma separated list of scripts to load before this script.Script Version Script version number.Deregister Script YesNo Deregister the script first.Enqueue Script YesNo Enqueue the script.Script 2 Handle/Name Name used in the code as a script handle.Script URL URL to the script.Script Dependencies Comma separated list of scripts to load before this script.Script Version Script version number.Deregister Script YesNo Deregister the script first.Enqueue Script YesNo Enqueue the script.Script 3 Handle/Name Name used in the code as a script handle.Script URL URL to the script.Script Dependencies Comma separated list of scripts to load before this script.Script Version Script version number.Deregister Script YesNo Deregister the script first.Enqueue Script YesNo Enqueue the script.Script 4 Handle/Name Name used in the code as a script handle.Script URL URL to the script.Script Dependencies Comma separated list of scripts to load before this script.Script Version Script version number.Deregister Script YesNo Deregister the script first.Enqueue Script YesNo Enqueue the script.Script 5 Handle/Name Name used in the code as a script handle.Script URL URL to the script.Script Dependencies Comma separated list of scripts to load before this script.Script Version Script version number.Deregister Script YesNo Deregister the script first.Enqueue Script YesNo Enqueue the script. Update Code Save Snippet
// Register Script function custom_scripts() { } add_action( 'wp_enqueue_scripts', 'custom_scripts' );