Skip to content

Instantly share code, notes, and snippets.

Avatar
🌏
No to war

Luke Cavanagh lukecav

🌏
No to war
View GitHub Profile
@lukecav
lukecav / Commands
Created Jul 23, 2021
WP-CLI commands to check if temp directory constants exists and then to delete it
View Commands
wp config has WP_TEMP_DIR
wp config delete WP_TEMP_DIR
@lukecav
lukecav / Links
Created Jul 23, 2021
WooFunnels plugin tracking and analytics
View Links
@lukecav
lukecav / functions.php
Created Jul 22, 2021
Set page and post revision storage to be zero in WordPress 5.8
View functions.php
add_filter( 'wp_page_revisions_to_keep', '__return_zero' );
add_filter( 'wp_post_revisions_to_keep', '__return_zero' );
@lukecav
lukecav / functions.php
Created Jul 21, 2021
Include WPvivid Backup plugin in iThemes Security Pro recognized backup plugins in security grade report
View functions.php
function itsec_grade_report_backup_solution($possible) {
$possible[] = 'wpvivid-backuprestore/wpvivid-backuprestore.php';
return $possible;
}
add_filter('itsec_possible_backup_plugins', 'itsec_grade_report_backup_solution’);
@lukecav
lukecav / Links
Created Jul 21, 2021
WordPress Popular Posts plugin performance issues
View Links
@lukecav
lukecav / Links
Last active Jul 15, 2021
Redirect to page using downloadable products is broken in WooCommerce 5.5.1
View Links
@lukecav
lukecav / Links
Last active Jul 20, 2021
WooCommerce Admin low stock database issue
View Links
@lukecav
lukecav / Commands
Last active Jul 15, 2021
Update WooCommerce and WooCommerce Blocks plugins to the most current versions using a WP-CLI command
View Commands
wp plugin update woocommerce woo-gutenberg-products-block
wp plugin update woocommerce --patch
@lukecav
lukecav / Links
Last active Jul 15, 2021
Critical Vulnerability Detected in WooCommerce on July 13, 2021
View Links
@lukecav
lukecav / Links
Created Jul 14, 2021
Oxygen builder plugin troubleshooting
View Links