Category: Admin
Better PHP Mailer
/** * Replace wp_mail with native PHP mail() */ add_filter(‘pre_wp_mail’, ‘use_native_mail’, 10, 2); function use_native_mail($null, $atts) { $to = $atts[‘to’]; $subject = $atts[‘subject’]; $message = $atts[‘message’]; $headers = isset($atts[‘headers’]) ? $atts[‘headers’] : ”; $attachments = isset($atts[‘attachments’]) ? $atts[‘attachments’] : array();…Continue reading
Bloomberg (copy)
https://www.bloomberg.com/profile/company/2682982D:USContinue reading
Bloomberg (copy)
Bloomberg
https://www.bloomberg.com/profile/company/2682982D:USContinue reading
grosse Whats App Bilder
// Schaltet die 2560px-Sperre für WhatsApp-Bilder ab add_filter( ‘big_image_size_threshold’, ‘__return_false’ ); // Erhöht das Upload-Limit für Videos @ini_set( ‘upload_max_filesize’ , ‘512M’ ); @ini_set( ‘post_max_size’, ‘512M’ ); @ini_set( ‘max_execution_time’, ‘300’ );Continue reading
inline embed for CLS
GTM
Show a Notice When an Event Has Ended
/** * Show a notice on the single event page once the event is over. * * Recurring events use the end of the SERIES, not the end of the first * occurrence. The end column describes only the first…Continue reading
Automatically Trash Past Events
/** * Move past events to the trash on a daily schedule. * * Sites that have run for years accumulate thousands of finished events. They * stay in every admin view and every query, and past a few hundred…Continue reading