Add javascript source code to the output. Code will be placed in footer and will be minified.
add_to_jquery( string $code ) : void
$code (string) (Required) JS code.
No value is returned.
// you can call directly jquery code or add any javascript
add_to_jquery('
$(".block").removeClass(".p-0");
function jsfunction() {
//
}
');