/** * 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
https://www.bloomberg.com/profile/company/2682982D:USContinue reading
https://www.bloomberg.com/profile/company/2682982D:USContinue reading
// 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
/** * 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
/** * 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
/** * Add your own fields to the event editor and show them on the event page. * * Sugar Calendar has no custom-fields UI. This adds one: edit the array in * sc_snippets_custom_event_fields() and each entry becomes a field…Continue reading