Category: Disable
Disable Console Logs & Plugins
$isProduction = true; $triggerWords = [‘.loc’, ‘localhost’, ‘.local’, ‘staging.’, ‘.staging’, ‘.testing’, ‘.dev’, ‘.test’, ‘.cloud’]; // edit triggerWords for your setup, these as fairly standard identifiers of non production env // the goal is to check the root url for a…Continue reading
rearrange shipping options
Add_filter(‘woocommerce_package_rates’, ‘wf_sort_shipping_methods’, 10, 2); function wf_sort_shipping_methods($available_shipping_methods, $package) { // Arrange shipping methods as per your requirement $sort_order = array( ‘wf_shipping_ups’ => array(), ‘wf_shipping_usps’ => array(), ‘free_shipping’ => array(), ‘local_pickup’ => array(), ‘legacy_flat_rate’ => array(), ); // unsetting all methods that…Continue reading
rearrange shipping options
Add_filter(‘woocommerce_package_rates’, ‘wf_sort_shipping_methods’, 10, 2); function wf_sort_shipping_methods($available_shipping_methods, $package) { // Arrange shipping methods as per your requirement $sort_order = array( ‘wf_shipping_ups’ => array(), ‘wf_shipping_usps’ => array(), ‘free_shipping’ => array(), ‘local_pickup’ => array(), ‘legacy_flat_rate’ => array(), ); // unsetting all methods that…Continue reading
Schema Markup – Local Business (copy)
{ “@context”: “https://schema.org”, “@type”: “LocalBusiness”, “name”: “iCleaning Services California”, “image”: “https://tusitio.com/logo.png”, “url”: “https://icleaningsvc.com”, “telephone”: “+1-XXX-XXX-XXXX”, “address”: { “@type”: “PostalAddress”, “streetAddress”: “Tu Dirección”, “addressLocality”: “Anaheim”, “addressRegion”: “CA”, “postalCode”: “92801”, “addressCountry”: “US” }, “priceRange”: “$$”, “servesCuisine”: “N/A”, “geo”: { “@type”: “GeoCoordinates”, “latitude”:…Continue reading
Schema Markup – Local Business
Remove unwanted checkout fields when all products are downloadable
PPMX Security Essentials [PUSH]
/* WordPress Sitemap deaktivieren BEGIN */ add_filter( ‘wp_sitemaps_enabled’, ‘__return_false’ ); /* WordPress Sitemap deaktivieren END */ /* WordPress Autoupdates deaktivieren BEGIN */ if ( ! defined( ‘AUTOMATIC_UPDATER_DISABLED’ ) ) { define( ‘AUTOMATIC_UPDATER_DISABLED’, true ); } /* WordPress Autoupdates deaktivieren END…Continue reading
wwolf
google-site-verification=3G4LhnxdCyUKQP-Hh3Re_gVM6oB2csSIWbSa6N1KbK0Continue reading
wwolf
google-site-verification=3G4LhnxdCyUKQP-Hh3Re_gVM6oB2csSIWbSa6N1KbK0Continue reading