@@ -81,8 +81,8 @@ discard block |
||
| 81 | 81 | */ |
| 82 | 82 | public function hospitalRegisterStyle($file) |
| 83 | 83 | { |
| 84 | - wp_register_style('hospital_admin_style' . $file, $this->path . '/css/' . $file, array(), '1', 'all'); |
|
| 85 | - wp_enqueue_style('hospital_admin_style' . $file); |
|
| 84 | + wp_register_style('hospital_admin_style'.$file, $this->path.'/css/'.$file, array(), '1', 'all'); |
|
| 85 | + wp_enqueue_style('hospital_admin_style'.$file); |
|
| 86 | 86 | } |
| 87 | 87 | |
| 88 | 88 | /** |
@@ -92,7 +92,7 @@ discard block |
||
| 92 | 92 | */ |
| 93 | 93 | public function hospitalRegisterScript($file, $required = null, $hook = null) |
| 94 | 94 | { |
| 95 | - wp_enqueue_script('hospital_admin_script' . $file, $this->path . '/js/' . $file, $required); |
|
| 95 | + wp_enqueue_script('hospital_admin_script'.$file, $this->path.'/js/'.$file, $required); |
|
| 96 | 96 | } |
| 97 | 97 | |
| 98 | 98 | /** |
@@ -106,7 +106,7 @@ discard block |
||
| 106 | 106 | $params = array( |
| 107 | 107 | 'my_arr' => $json_dates |
| 108 | 108 | ); |
| 109 | - wp_localize_script('hospital_admin_script' . $file, 'php_params', $params); |
|
| 109 | + wp_localize_script('hospital_admin_script'.$file, 'php_params', $params); |
|
| 110 | 110 | } |
| 111 | 111 | |
| 112 | 112 | /** |