|
|
@@ -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' );
|