add-apt-repository ppa:ondrej/php &&\
apt-get update &&\
apt-get install php5.6-fpm php5.6-curl php5.6-gd php5.6-mbstring php5.6-mysql php5.6-xml php5.6-zip -y
mkdir -p /opt/plesk/php/5.6/{bin,etc,sbin} &&\
\
ln -s /etc/php/5.6/fpm/pool.d /opt/plesk/php/5.6/etc/php-fpm.d &&\
This file contains hidden or 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 | |
| /** | |
| * Hide jQuery Migration notice | |
| * | |
| * Temp fix until plugin can be removed | |
| * | |
| * @return void | |
| */ | |
| function removes_migrate_warning() { |
This file contains hidden or 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: WooCommerce Remove Billing Fields for Free Virtual Products | |
| * Plugin URI: https://gist.github.com/BFTrick/7873168 | |
| * Description: Remove the billing address fields for free virtual orders | |
| * Author: Patrick Rauland | |
| * Author URI: http://patrickrauland.com/ | |
| * Version: 2.0 | |
| * | |
| * This program is free software: you can redistribute it and/or modify |