<?php
//td_demo_media::add_image_to_media_gallery('tdx_pic_2', 'http://localhost/wp_011_rivernews_pro/wp-content/uploads/2022/04/p2.jpg');
td_demo_media::add_image_to_media_gallery('tdx_pic_2', 'https://cloud.tagdiv.com/demos/Newspaper/river_news/media/p2.jpg');