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
| # CENTMINMOD CUSTOM CONFIGURATIONS OPTIONS FILE | |
| # PLEASE NOTE: This file serves as a file with all the possible options, NOT what should be used in a production enviornment!!!! | |
| # https://centminmod.com | |
| # Creating a custom_config.inc file it will override default setting for upgrades and software installs. | |
| # Location: /etc/centminmod/custom_config.inc | |
| EMAIL='' # Server notification email address enter only 1 address | |
| PUSHOVER_EMAIL='' # Signup pushover.net push email notifications to mobile & tablets | |
| CMGIT='https://github.com/centminmod/centminmod.git' |
| <?php | |
| // PHP memory limit for this site | |
| define( 'WP_MEMORY_LIMIT', '128M' ); | |
| define( 'WP_MAX_MEMORY_LIMIT', '256M' ); // Increase admin-side memory limit. | |
| // Database | |
| define( 'WP_ALLOW_REPAIR', true ); // Allow WordPress to automatically repair your database. | |
| define( 'DO_NOT_UPGRADE_GLOBAL_TABLES', true ); // Don't make database upgrades on global tables (like users) | |
| // Explicitely setting url |
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
| <?php | |
| /* | |
| Plugin Name: WP Migrate DB Exclude Woo Sessions | |
| Plugin URI: https://gist.github.com/webaware/17be2cb59f2cfe1313d6 | |
| Description: Exclude WooCommerce sessions from migration | |
| Version: 0.0.1 | |
| Author: WebAware | |
| Author URI: http://webaware.com.au/ | |
| */ |
| # ----------------------------------------------------------------- | |
| # .gitignore for WordPress @salcode | |
| # ver 20180808 | |
| # | |
| # From the root of your project run | |
| # curl -O https://gist.githubusercontent.com/salcode/b515f520d3f8207ecd04/raw/.gitignore | |
| # to download this file | |
| # | |
| # By default all files are ignored. You'll need to whitelist | |
| # any mu-plugins, plugins, or themes you want to include in the repo. |
| // Tutorial: http://www.skyverge.com/blog/change-woocommerce-return-to-shop-button/ | |
| function skyverge_change_empty_cart_button_url() { | |
| return get_site_url(); | |
| //Can use any page instead, like return '/sample-page/'; | |
| } | |
| add_filter( 'woocommerce_return_to_shop_redirect', 'skyverge_change_empty_cart_button_url' ); |
| ServerName [% vhost.servername %] | |
| [% IF vhost.serveralias_array.size -%] | |
| [% FOREACH alias IN vhost.serveralias_array -%] | |
| ServerAlias [% alias %] | |
| [% IF alias == 'www.' _ vhost.servername -%] | |
| RewriteCond %{HTTPS} !=on | |
| RewriteCond %{HTTP_HOST} !^www\. [NC] | |
| RewriteRule ^ http://www.%{HTTP_HOST}%{REQUEST_URI} [R=301,L] | |
| [% END -%] |
| # v19 2025-11-06 | |
| # prevent listing files in folders | |
| Options -Indexes | |
| # some security rules | |
| <IfModule mod_rewrite.c> | |
| RewriteEngine On | |
| # prevent php execution in uploads | |
| RewriteRule /uploads/.*\.php - [F] |
| <?php | |
| /* | |
| Plugin Name: Register Link Remover | |
| Plugin URI: https://gist.github.com/webaware/11387141 | |
| Description: remove the register link from the wp-login.php script | |
| Version: 1 | |
| Author: WebAware | |
| Author URI: http://www.webaware.com.au/ | |
| */ |