|
|
|
|
|
|
146
|
}
|
146
|
}
|
|
147
|
}
|
147
|
}
|
|
148
|
add_action( 'init', 'no_default_jquery' );
|
148
|
add_action( 'init', 'no_default_jquery' );
|
|
|
|
149
|
+
|
|
149
|
// REMOVE emoji support
|
150
|
// REMOVE emoji support
|
|
150
|
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
|
151
|
remove_action( 'wp_head', 'print_emoji_detection_script', 7 );
|
|
151
|
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
|
152
|
remove_action( 'admin_print_scripts', 'print_emoji_detection_script' );
|
|
|
|
|
|
|
156
|
function webapptiv_remove_block_library_css() {
|
157
|
function webapptiv_remove_block_library_css() {
|
|
157
|
wp_dequeue_style( 'wp-block-library' );
|
158
|
wp_dequeue_style( 'wp-block-library' );
|
|
158
|
}
|
159
|
}
|
|
|
|
160
|
+// REMOVE wp-container-id class for every block which causes wierd dislay: flex inclusions
|
|
|
|
161
|
+remove_filter( 'render_block', 'wp_render_layout_support_flag', 10, 2 );
|
|
|
|
162
|
+
|
|
159
|
// add_action( 'wp_enqueue_scripts', 'webapptiv_remove_block_library_css' );
|
163
|
// add_action( 'wp_enqueue_scripts', 'webapptiv_remove_block_library_css' );
|
|
160
|
|
164
|
|
|
161
|
// header( 'Access-Control-Allow-Origin: http://localhost:8080' );
|
165
|
// header( 'Access-Control-Allow-Origin: http://localhost:8080' );
|