Category: php
UCS-2 is a character encoding standard in which characters are represented by a fixed-length 16 bits (2 bytes). It is used as a fallback on many GSM networks when …
Google Fonts are sometimes heavy-weight and slow to load especially in some regions e.g. mainland China. The following PHP Function allows you to disable loading Google Fonts in your …
In WordPress, you can add a short code that allows you to include a PHP File at your post. First, add the following function in your child theme’s functions.php …
For users privacy we don’t want to display the full email addresses – and we can use the following PHP function to mask the email addresses properly. For example: …
Given that we know how to retrieve the number of CPU cores using PHP Function, we can then check the current load average, if it is larger than a …