Explorar el Código

:fire: removing dequeue block lib

tags/0.9.0
J hace 4 años
padre
commit
10126fee2c
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2
    1
      vue-theme/functions.php

+ 2
- 1
vue-theme/functions.php Ver fichero

@@ -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…
Cancelar
Guardar