PluginProbe
Webling / 3.0.3
Webling v3.0.3
trunk 2.0 3.0 3.0.1 3.0.2 3.0.3 3.1.0 3.1.1 3.1.2 3.2.0 3.2.1 3.3.0 3.4.0 3.4.1 3.5.0 3.6.0 3.7.0 3.7.1 3.7.2 3.7.3 3.8.0 3.9.0 3.9.1 3.9.2
webling / src / admin / actions / add_headers.php

add_headers.php in Webling 3.0.3, at src/admin/actions/add_headers.php

18 lines 607 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 function webling_admin_add_headers($hook)
4 {
5 // only on webling admin pages
6 if (substr($hook,0,7) == 'webling' || $hook == 'toplevel_page_webling_page_main') {
7
8 // Plugin
9 wp_enqueue_style('webling_admin_css', plugins_url('css/admin.css', WEBLING_PLUGIN_FILE_NAME));
10 wp_enqueue_script('webling_admin_js', plugins_url('/js/admin.js', WEBLING_PLUGIN_FILE_NAME));
11
12 // jQuery UI
13 wp_enqueue_style('webling_admin_css_jquery_ui', plugins_url('js/jquery-ui-1.12.1.custom/jquery-ui.min.css', WEBLING_PLUGIN_FILE_NAME));
14 wp_enqueue_script('jquery');
15 wp_enqueue_script('jquery-ui-sortable');
16 }
17 }
18