wp_enqueue_script does not load admin-forms in plugin page
-
I have a plugin page …
/wp-admin/admin.php?page=plugin.phpin plugin.php :
$title = __('My plugin page','plugin'); $parent_file = 'plugin.php'; wp_enqueue_script('admin-forms'); require_once('admin-header.php');
And still got no JS loading in the header…
should be this one, like in edit.php :
<script type='text/javascript' src='https://www.mydomain.com/wp-admin/js/forms.js?ver=20080401'></script>
anyone got a clue why ?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘wp_enqueue_script does not load admin-forms in plugin page’ is closed to new replies.