Answer the question
In order to leave comments, you need to log in
Set up keyword preloading why doesn't it work?
I have the Swap Google Fonts Display plugin and added
add_filter( 'generate_google_font_display', function() {
return 'swap';
} ) to functions.php ;
add_action( 'wp_enqueue_scripts','tu_remove_google_fonts', 10 );
function tu_remove_google_fonts() {
wp_dequeue_style( 'generate-fonts' );
}
nothing helps, how to fix the error?
Answer the question
In order to leave comments, you need to log in
Any student who knows how to link 2 lines in php knows that promo codes should be generated not according to some algorithm, but randomly and kept in the database. And in Yandex, schoolchildren are far from sitting.
If you need to calculate exactly the algorithm when only its results are from the input data, then the easiest way is to check this by enumeration of known algorithms. From the banal random to anything.
But in this case, it's useless. Because even if the promo code is correct, it can simply be activated - i.e. there is no way to check the validity of the generated promotional code for sure.
Theoretically, the problem can be solved. In practice - rather not, given that there are countless generation algorithms.
In my opinion, if you want to know what algorithm they use, then it would be ideal to get a job at Yandex.Taxi, get access to the source code and enjoy the found code fragment) And listen to riot26
You need to manually add preload keys for the resources shown in PageSpeed. For example,
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question