/** * Force loading the Free Downloads assets on the frontend. */ function eddwp_free_downloads_scripts() { EDD\FreeDownloads\Assets\Frontend::enqueue( true ); } remove_action( ‘wp_enqueue_scripts’, ‘edd_free_downloads_scripts’ ); add_action( ‘wp_enqueue_scripts’, ‘eddwp_free_downloads_scripts’ );Continue reading
/** * Sorting SDEK shipping methods by cost, from cheap to expensive * * @param array $rates Array of shipping methods * * @return array */ add_filter( ‘woocommerce_package_rates’, function( $rates ) { if( empty( $rates ) || ! is_array( $rates…Continue reading
ini_set(‘display_errors’,’Off’); ini_set(‘error_reporting’, E_ALL ); define(‘WP_DEBUG’, false); define(‘WP_DEBUG_DISPLAY’, false);Continue reading
Loading the Elevenlabs Text to Speech AudioNative Player…Continue reading
And this is text but its formatted text, apparently thats ok. Ah, I see – you can switch to straight text like this.Continue reading
/** * Start Remove Autofill Checkout **/ add_filter(‘woocommerce_checkout_get_value’, ‘prefix_return_empty_checkout’, 10, 2); function prefix_return_empty_checkout($value, $key) { // List of fields to clear $fields_to_clear = array( ‘billing_first_name’, ‘billing_last_name’, ‘billing_company’, ‘billing_country’, ‘billing_address_1’, ‘billing_address_2’, ‘billing_city’, ‘billing_state’, ‘billing_postcode’, ‘billing_phone’, ‘billing_email’, ‘shipping_first_name’, ‘shipping_last_name’, ‘shipping_company’, ‘shipping_country’, ‘shipping_address_1’,…Continue reading
// Hide the admin ‘Screen Options’ tab add_filter(‘screen_options_show_screen’, ‘__return_false’);Continue reading