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