Core Function
View Source on Trac ↗ _wp_scripts_maybe_doing_it_wrong()
_wp_scripts_maybe_doing_it_wrong( mixed $function_name, mixed $handle = '' ) Helper function to output a _doing_it_wrong message when applicable.
Parameters 2 required
| Name / Type | Description |
|---|---|
| $function_name string | Function name. Required |
| string | $handle Optional. Name of the script or stylesheet that was registered or enqueued too early. Default empty. Required |
Return Value
(void)
No return value description available.
Function Information
Since Version
4.2.0
Source File
wp-includes/functions.wp-scripts.php
Advertisement