This document lists all the situations where WordPress sends an email, along with how to filter or disable each email.
This documentation has moved here: https://github.com/johnbillion/wp_mail
| // https://v1.tailwindcss.com/docs/controlling-file-size#purge-css-options | |
| module.exports = { | |
| future: { | |
| removeDeprecatedGapUtilities: true, | |
| purgeLayersByDefault: true, | |
| }, | |
| purge: { | |
| content: ['./public/**/*.html'], | |
| options: { | |
| whitelistPatterns: [ |
| stages: | |
| - deploy_dev | |
| - deploy_staging | |
| - deploy_live | |
| before_script: | |
| - 'which ssh-agent || ( apk add --update openssh )' | |
| - apk add --update bash | |
| - apk add --update git | |
| - eval $(ssh-agent -s) |
This document lists all the situations where WordPress sends an email, along with how to filter or disable each email.
This documentation has moved here: https://github.com/johnbillion/wp_mail
| command to find recursively files {can be modified for folders too, change -type f}, and renamed them by specfying regex pattern | |
| find . -type f -maxdepth [depth] -name "[filepattern]" | while read FNAME; do mv "$FNAME" "${FNAME//search/replace}"; done | |
| example: | |
| find . -type f -maxdepth 1 -name "domain*.php" | while read FNAME; do mv "$FNAME" "${FNAME//domain/lead}"; done | |
| before: after: |
| <?php | |
| /* | |
| * dl-file.php | |
| * | |
| * Protect uploaded files with login. | |
| * | |
| * @link http://wordpress.stackexchange.com/questions/37144/protect-wordpress-uploads-if-user-is-not-logged-in | |
| * | |
| * @author hakre <http://hakre.wordpress.com/> | |
| * @license GPL-3.0+ |