'Digging Into WordPress', 1 => '.htaccess made easy', 2 => 'The Tao of WordPress', 3 => 'Wizard’s SQL Recipes for WordPress', 4 => 'WordPress Themes In Depth', // 5 => 'Banhammer Pro', 6 => 'BBQ Pro Firewall', 7 => 'Blackhole Pro', 8 => 'GA Google Analytics Pro', 9 => 'Simple Ajax Chat Pro', 10 => 'USP Pro', ); $items = array_rand($array, 3); $item1 = isset($array[$items[0]]) ? $array[$items[0]] : 0; $item2 = isset($array[$items[1]]) ? $array[$items[1]] : 1; $item3 = isset($array[$items[2]]) ? $array[$items[2]] : 2; $url1 = esc_url('https://books.perishablepress.com/'); $url2 = esc_url('https://plugin-planet.com/store/'); $url3 = esc_url('https://monzillamedia.com/donate.html'); $title1 = esc_html__('Perishable Press Books', 'usp'); $title2 = esc_html__('Plugin Planet: Pro WordPress Plugins', 'usp'); $title3 = esc_html__('Donate via PayPal, credit card, or cryptocurrency', 'usp'); $link1 = ' '. esc_html__('books', 'usp') .' '; $link2 = ' '. esc_html__('plugins', 'usp') .', '; $link3 = ' '. esc_html__('donation', 'usp') .'. '; $message = esc_html__('Thank you for using', 'usp') .' '. $plugin_project .'! '; $message .= esc_html__('Please show support by purchasing one of my', 'usp') . $link1; $message .= esc_html__('or', 'usp') . $link2 . esc_html__('or by making a', 'usp') . $link3; $message .= esc_html__('Your generous support helps future development of', 'usp') .' '. $plugin_project .' '; $message .= esc_html__('and is greatly appreciated.', 'usp'); $donate = esc_html__('Any size donation helps me to continue developing this free plugin and other awesome WordPress resources.', 'usp'); ?>