Lines:
1 to 40 of 40
<?php /** Plugin Name: allow-reinstalls Plugin URI: https://www.oik-plugins.com/oik-plugins/allow-reinstalls Description: Allow re-installation of plugins and themes by upload Version: 0.0.4 Author: bobbingwide Author URI: https://www.bobbingwide.com/about-bobbing-wide License: GPLv2 or later License URI: http://www.gnu.org/licenses/gpl-2.0.html Copyright 2016-2022 Bobbing Wide (email : herb@bobbingwide.com ) 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. You may NOT assume that you can use any other version of the GPL. 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. The license for this software can likely be found here: http://www.gnu.org/licenses/gpl-2.0.html */ /** * Filter the package options before running an update. * * @since 4.3.0 */ add_filter( "upgrader_package_options", "allow_reinstalls_upgrader_package_options" ); /* function allow_reinstalls_upgrader_package_options() – Implement "upgrader_package_options" for allow-reinstalls */View on GitHub View on Trac