瀏覽代碼

:fire: removing dequeue block lib

tags/0.9.0
J 4 年之前
父節點
當前提交
10126fee2c
共有 1 個文件被更改,包括 2 次插入1 次删除
  1. 2
    1
      vue-theme/functions.php

+ 2
- 1
vue-theme/functions.php 查看文件

@@ -158,11 +158,12 @@ remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
158 158
 remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
159 159
 remove_action( 'wp_print_styles', 'print_emoji_styles' );
160 160
 remove_action( 'admin_print_styles', 'print_emoji_styles' );
161
+
161 162
 // REMOVE block CSS
162 163
 function webapptiv_remove_block_library_css() {
163 164
     wp_dequeue_style( 'wp-block-library' );
164 165
 }
165
-add_action( 'wp_enqueue_scripts', 'webapptiv_remove_block_library_css' );
166
+// add_action( 'wp_enqueue_scripts', 'webapptiv_remove_block_library_css' );
166 167
 
167 168
 // header( 'Access-Control-Allow-Origin: http://localhost:8080' );
168 169
 header( 'Content-Type: application/json' );

Loading…
取消
儲存