Created
December 8, 2023 03:58
-
-
Save brianleejackson/7a7a7a648e49fd665f6e1cb3a46c980d to your computer and use it in GitHub Desktop.
Revisions
-
brianleejackson created this gist
Dec 8, 2023 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,8 @@ function disable_fetchpriority_high( $loading_attrs ) { unset( $loading_attrs['fetchpriority'] ); return $loading_attrs; } add_filter( 'wp_get_loading_optimization_attributes', 'disable_fetchpriority_high' );