We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 083aa74 commit db803a9Copy full SHA for db803a9
functions.php
@@ -1,6 +1,6 @@
1
<?php
2
//最佳化主題樣式相關
3
-function optimize_theme_setup() {
+function mxp_optimize_theme_setup() {
4
//整理head資訊
5
remove_action('wp_head', 'wp_generator');
6
remove_action('wp_head', 'wlwmanifest_link');
@@ -27,7 +27,7 @@ function remove_version_query($src) {
27
add_filter('script_loader_src', 'remove_version_query', 999);
28
add_filter('widget_text', 'do_shortcode');
29
}
30
-add_action('after_setup_theme', 'optimize_theme_setup');
+add_action('after_setup_theme', 'mxp_optimize_theme_setup');
31
32
function mxp_admin_menu_modify_for_user() {
33
global $submenu;
0 commit comments