This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function filter_default_font_directory( $font_directory ) { | |
$upload_dir = wp_get_upload_dir(); | |
$font_directory = array( | |
'path' => untrailingslashit( $upload_dir['basedir'] ) . '/fonts', | |
'url' => untrailingslashit( $upload_dir['baseurl'] ) . '/fonts', | |
'subdir' => '', | |
'basedir' => untrailingslashit( $upload_dir['basedir'] ) . '/fonts', |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Integrations: Paid Memberships Pro | |
* | |
* @package AffiliateWP | |
* @subpackage Integrations | |
* @copyright Copyright (c) 2016, Sandhills Development, LLC | |
* @license http://opensource.org/licenses/gpl-2.0.php GNU Public License | |
* @since 1.8 | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: [Defender Pro] - White Label ALL Defender emails | |
* Description: Allows the modification of almost all email fields/parameters via filters or an additional GUI at Settings > General. | |
* Author: Anderson Salas @ WPMUDEV | |
* Task: SLS-3842 | |
* Author URI: https://premium.wpmudev.org | |
* License: GPLv2 or later | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: [Defender Pro] - 2FA setup page integration for WooCommerce (and others) | |
* Description: Moves the 2FA setup page to the 'My Account' WC page, and restricts the shop navigation util it's completed | |
* Author: Anderson Salas @ WPMUDEV | |
* Task: SLS-3822 | |
* Author URI: https://premium.wpmudev.org | |
* License: GPLv2 or later | |
*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: [Smush] - Beaver fix image not serving via CDN. | |
* Plugin URI: https://wpmudev.com/ | |
* Description: Beaver Builder not serving images via CDN. | |
* Author: Abdoljabbar Bakhshande | |
* Author URI: https://wpmudev.com/ | |
* Task: SLS-3724 | |
* License: GPLv2 or later | |
* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/* | |
A simple script to quickly anonymise the users of a WordPress website. | |
It works by replacing all of your existing users with new randomly generated user details. | |
Simply add this file to the root directory of your WordPress installation, then go to <<your website address/>>/anonymise-users.php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# This script is executed from a terminal prompt at the root of your MainWP WordPress website. | |
# It uses the same services as WP CLI, so if WP CLI runs, this should also. | |
# | |
# Execute MainWP CLI command to generate a list of all configured sites in MainWP | |
# Pipe output through filter to remove columns 3 and 4 of output. These columns hold the 2 digit site number. Adjust if more than 99 sites. | |
# Pipe that output to get rid of the comment lines in the site listing. | |
# Pipe that output through the SED editor inserting the security scan command at the beginning of the line | |
# Send everything to a shell script to be executed. | |
cd /var/www/capwebwpcare.com/htdocs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'woocommerce_shipping_calculator_enable_country', '__return_false' ); | |
add_filter( 'woocommerce_shipping_calculator_enable_city', '__return_false' ); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/** | |
* Plugin Name: Remove WooCommerce DB Notice | |
* Plugin URI: https://woocommerce.com | |
* Description: Clears out any pending WooCommerce DB Update notices | |
* Author: WooCommerce | |
* Domain Path: /languages | |
* Version: 0.1 | |
*/ |
NewerOlder