Skip to content

Instantly share code, notes, and snippets.

🎨
I paint houses.

Luke Cavanagh lukecav

🎨
I paint houses.
Block or report user

Report or block lukecav

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@lukecav
lukecav / Commands
Last active Apr 16, 2019
ElasticPress WP-CLI Commands to index WooCommerce product posts
View Commands
wp elasticpress delete-index
wp elasticpress index --setup --posts-per-page=2000 --post-type="product"
wp elasticpress index --posts-per-page=2000 --post-type="product"
@lukecav
lukecav / Command
Created Apr 15, 2019
Remove Redirection plugin database using WP-CLI
View Command
wp redirection database remove
@lukecav
lukecav / Commands
Created Apr 15, 2019
Redirection plugin export created redirections to NGNIX or CSV file formats
View Commands
wp redirection export wordpress --format=ngnix
wp redirection export wordpress --format=csv
@lukecav
lukecav / Commands
Created Apr 12, 2019
Better Reviews For WooCommerce - WP-CLI Commands
View Commands
# run all the scoring recalculations for scoring
wp woo-better-reviews recalculate
# approve all the pending reviews
wp woo-better-reviews approve
# convert the existing comment-based reviews
wp woo-better-reviews convert
wp woo-better-reviews convert --cleanup=convert
wp woo-better-reviews convert --cleanup=purge
@lukecav
lukecav / Link
Created Apr 11, 2019
Troubleshooting SSL issues with WooCommerce
View Link
@lukecav
lukecav / Links
Created Apr 11, 2019
Using Post SMTP Mailer/Email Log plugin with SendGrid API
View Links
@lukecav
lukecav / Commands
Last active Apr 10, 2019
Yuzo Related Posts plugin deactive and delete option value using WP-CLI
View Commands
wp plugin deactivate yuzo-related-post
wp option delete yuzo_related_post_options
@lukecav
lukecav / .user.ini
Created Apr 10, 2019
.user.ini settings example
View .user.ini
memory_limit = 256M
upload_max_filesize = 300M
max_file_uploads = 300M
post_max_size = 300M
max_execution_time = 800
max_input_time = 800
max_input_vars = 3000
@lukecav
lukecav / Links
Last active Apr 10, 2019
yuzo-related-post plugin exploit
View Links
@lukecav
lukecav / Commands
Created Apr 10, 2019
Set WooCommerce marketplace suggestion option value as no using WP-CLI
View Commands
wp option update woocommerce_show_marketplace_suggestions no
wp option get woocommerce_show_marketplace_suggestions
You can’t perform that action at this time.