function get_cached_youtube_videos() { $cache_file = get_template_directory() . '/yt-cache.json'; // đŸ”Ĩ Cache 10 minutes if (file_exists($cache_file) && (time() - filemtime($cache_file)) < 600) { return json_decode(file_get_contents($cache_file), true); } $rss = "https://www.youtube.com/feeds/videos.xml?channel_id=UCPl2JKCzGWp39DBFVzOHaoQ"; $xml = @simplexml_load_file($rss); $videos = []; if ($xml) { foreach ($xml->entry as $entry) { $videos[] = [ 'title' => (string)$entry->title, 'id' => (string)$entry->children('yt', true)->videoId ]; } } // Save cache file_put_contents($cache_file, json_encode($videos)); return $videos; } āĻ…āĻ°ā§āĻĨāύ⧀āϤāĻŋ Archives - Channel Durjoy

āĻ…āĻ°ā§āĻĨāύ⧀āϤāĻŋ

āĻŽā§āϰāĻ—āĻŋāϰ āĻĻāĻžāĻŽā§‡ āĻŦ⧜ āϞāĻžāĻĢ, āĻ—āĻžāϜāϰ-āĻŽāϰāĻŋāĻšā§‡ āϏ⧇āĻžā§āϚ⧁āϰāĻŋ

āĻ…āĻ°ā§āĻĨāύ⧀āϤāĻŋ, āĻĸāĻžāĻ•āĻž, āĻĻ⧁āĻ°ā§āϜ⧟ āύāĻŋāωāϜ, āϏāĻžāϰāĻžāĻŦāĻžāĻ‚āϞāĻž

āϏāĻĒā§āϤāĻžāĻšā§‡āϰ āĻŦā§āϝāĻŦāϧāĻžāύ⧇ āϰāĻžāϜāϧāĻžāύ⧀āϰ āĻŦāĻžāϜāĻžāϰ⧇ āĻŦā§āϰ⧟āϞāĻžāϰ āĻŽā§āϰāĻ—āĻŋāϰ āĻĻāĻžāĻŽ āϕ⧇āϜāĻŋāϤ⧇ ā§Šā§Ļ āϟāĻžāĻ•āĻž āĻŦā§‡ā§œā§‡ āĻŦāĻ°ā§āϤāĻŽāĻžāύ⧇ āĻŦāĻŋāĻ•ā§āϰāĻŋ āĻšāĻšā§āϛ⧇ ⧧⧝ā§Ļ āϟāĻžāĻ•āĻžā§ŸāĨ¤ āĻ āĻ›āĻžā§œāĻžāĻ“ āĻŦā§‡ā§œā§‡āϛ⧇ āĻ…āϧāĻŋāĻ•āĻžāĻ‚āĻļ […]

āĻŽā§āϰāĻ—āĻŋāϰ āĻĻāĻžāĻŽā§‡ āĻŦ⧜ āϞāĻžāĻĢ, āĻ—āĻžāϜāϰ-āĻŽāϰāĻŋāĻšā§‡ āϏ⧇āĻžā§āϚ⧁āϰāĻŋ Read Post Âģ

Scroll to Top