Files
roi-theme/wp-content/plugins/manage-notification-emails/manage-notification-emails.php
root a22573bf0b Commit inicial - WordPress Análisis de Precios Unitarios
- WordPress core y plugins
- Tema Twenty Twenty-Four configurado
- Plugin allow-unfiltered-html.php simplificado
- .gitignore configurado para excluir wp-config.php y uploads

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-11-03 21:04:30 -06:00

96 lines
3.2 KiB
PHP
Executable File

<?php
/*
Plugin Name: Manage Notification E-mails
Plugin URI: https://www.freeamigos.nl/wp-plugins/manage-notification-emails/1.8.6
Description: This plugin gives you the option to disable some of the notification e-mails send by WordPress. It's a simple plugin but effective.
Version: 1.8.6
Author: Virgial Berveling
Author URI: https://www.freeamigos.nl
Text Domain: manage-notification-emails
Domain Path: /languages/
License: GPLv2
*/
/*
Copyright (c) 2006-2015 Virgial Berveling
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License, version 2, as
published by the Free Software Foundation.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
You may also view the license here:
http://www.gnu.org/licenses/gpl.html
*/
/*
A NOTE ABOUT LICENSE:
While this plugin is freely available and open-source under the GPL2
license, that does not mean it is "public domain." You are free to modify
and redistribute as long as you comply with the license. Any derivative
work MUST be GPL licensed and available as open source. You also MUST give
proper attribution to the original author, copyright holder, and trademark
owner. This means you cannot change two lines of code and claim copyright
of the entire work as your own. The GPL2 license requires that if you
modify this code, you must clearly indicate what section(s) you have
modified and you may only claim copyright of your modifications and not
the body of work. If you are unsure or have questions about how a
derivative work you are developing complies with the license, copyright,
trademark, or if you do not understand the difference between
open source and public domain, contact the original author at:
https://www.freeamigos.nl/contact/.
INSTALLATION PROCEDURE:
Just put it in your plugins directory.
*/
if ( ! defined( 'ABSPATH' ) ) {
die();
}
define( 'FA_MNE_VERSION', '1.8.6' );
define( 'FA_MNE_PLUGIN_BASENAME', plugin_basename( __FILE__ ) );
define( 'FA_MNE_PLUGIN_DIR', untrailingslashit( dirname( __FILE__ ) ) );
define( 'FA_MNE_SLUG', 'manage-notification-emails' );
/**
* Initialize the plugin.
*
* @since 1.0.0
*/
require_once FA_MNE_PLUGIN_DIR . '/core/class.FAMNE.php';
require_once FA_MNE_PLUGIN_DIR . '/core/functions.setup.php';
require_once FA_MNE_PLUGIN_DIR . '/modules/settings-page/settings-page.php';
require_once FA_MNE_PLUGIN_DIR . '/modules/pluggable/pluggable.php';
require_once FA_MNE_PLUGIN_DIR . '/modules/user-email-changed.php';
require_once FA_MNE_PLUGIN_DIR . '/modules/custom-recipients.php';
require_once FA_MNE_PLUGIN_DIR . '/modules/export-settings.php';
function fa_mne_init() {
new FAMNE();
add_action( 'plugins_loaded', 'FAMNE::update_check' );
}
function fa_mne_uninstall() {
FAMNE::uninstall();
}
register_uninstall_hook( __FILE__, 'fa_mne_uninstall' );
fa_mne_init();