Skip to content

Instantly share code, notes, and snippets.

View sebastianmoran-mainwp's full-sized avatar
🚀
Fast Lane Strategies: Turbocharging Your WordPress Website for Optimal Speed.

Sebastian Moran sebastianmoran-mainwp

🚀
Fast Lane Strategies: Turbocharging Your WordPress Website for Optimal Speed.
View GitHub Profile
@sebastianmoran-mainwp
sebastianmoran-mainwp / Cron events
Created May 27, 2022 21:47
iThemes Security plugin data
itsec_cron
itsec_cron_test
@sebastianmoran-mainwp
sebastianmoran-mainwp / Links
Created April 13, 2022 01:05
Cloudflare page rules for domain forwarding
@sebastianmoran-mainwp
sebastianmoran-mainwp / functions.php
Created December 31, 2021 01:03
Remove home from breadcrumbs in Yoast SEO
add_filter( 'wpseo_breadcrumb_single_link' ,'wpseo_remove_home_breadcrumb', 10 ,2);
function wpseo_remove_home_breadcrumb( $link_output , $link ){
$text_to_remove = 'Home';
if( $link['text'] == $text_to_remove ) {
$link_output = '';
}
return $link_output;
@sebastianmoran-mainwp
sebastianmoran-mainwp / Option names
Created December 3, 2021 04:14
Jetpack plugin options
jetpack_activated
jetpack_activation_source
jetpack_available_modules
jetpack_connection_active_plugins
jetpack_dismissed_connection_banner
jetpack_options
jetpack_private_options
jetpack_sync_https_history_home_url
jetpack_sync_https_history_site_url
jetpack_tos_agreed
@sebastianmoran-mainwp
sebastianmoran-mainwp / Links
Created August 13, 2021 18:42
Migrate to the SEO Framework (TSF) plugin
@sebastianmoran-mainwp
sebastianmoran-mainwp / Links
Created April 16, 2021 20:30
Delete WooCommerce transients related to GeoIP
@sebastianmoran-mainwp
sebastianmoran-mainwp / Option names
Created March 6, 2021 01:52
UpdraftPlus plugin options
updraft_azure
updraft_backblaze
updraft_cloudfiles
updraft_dreamobjects
updraft_dropbox
updraft_ftp
updraft_googlecloud
updraft_googledrive
updraft_last_lock_time_wpo_cache_preloader_creating_tasks
updraft_onedrive
@sebastianmoran-mainwp
sebastianmoran-mainwp / Option names
Created December 22, 2020 21:09
SecurityWP plugin created option names
security_wp_dismiss_welcome_notice
security-wp-checklist-autorun
security-wp-cron-jobs
security-wp-firewall
security-wp-hardening
security-wp-log
security-wp-login
security-wp-notifications
security-wp-setup
@sebastianmoran-mainwp
sebastianmoran-mainwp / .htaccess
Created December 10, 2020 21:25
Smush Pro WebP conversion rules for Apache
# BEGIN SMUSH-WEBP
<IfModule mod_rewrite.c>
RewriteEngine On
RewriteCond %{DOCUMENT_ROOT}/wp-content/smush-webp/disable_smush_webp !-f
RewriteCond %{HTTP_ACCEPT} image/webp
RewriteCond %{REQUEST_FILENAME} -f
RewriteCond %{DOCUMENT_ROOT}/wp-content/smush-webp/$1.$2.webp -f
RewriteRule ^/?(.+)\.(jpe?g|png)$ /wp-content/smush-webp/$1.$2.webp [NC,T=image/webp,E=WEBP_image]
</IfModule>
@sebastianmoran-mainwp
sebastianmoran-mainwp / Links
Last active October 23, 2020 03:53
WP Search with Algolia with WooCommerce Products