• Our resources on Theme5s Forum are CLEAN and SAFE. So you can use them for development and testing purposes. If your are on Windows and have an antivirus that alerts you about a possible infection: Know it's a false positive because all scripts are double checked by our experts. We advise you to add Theme5s to trusted sites/sources or disable your antivirus momentarily while downloading a resource. "Enjoy your presence on Theme5s"
Resource icon

Tutorials Auto Save Remote Images without plugin

theme5s

Administrative
Staff member
Root
theme5s submitted a new resource:

Auto Save Remote Images without plugin - Automatically keep the all remote picture to the local media libary when you publishing posts

Automatically keep the all remote picture to the local media libary when you publishing posts, and automatically set featured image

Include this code to functions file of theme you use

PHP:
<?php
class Auto_Save_Images
{ function __construct() { add_filter('content_save_pre', array( $this, 'post_save_images' )); } function post_save_images($content) { if (($_POST['save'] || $_POST['publish']))...
Read more about this resource...
 

Reply by Facebook account

Similar threads
Thread starter Title Forum Replies Date
theme5s Tutorials Auto Insert Featured Image in All Posts Wordpress Tutorial, Tips, Tricks 0

New resources

Top