소스 검색

: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…
취소
저장