Resource icon

Tutorials Auto Save Remote Images without plugin

theme5s

Administrative
Staff member
Administrator
Theme5s Lover
Trusted Uploader
Decoding Master
Jan 8, 2018
2,401
439
113
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...
 

New resources

AdBlock Detected

We get it, advertisements are annoying!

Sure, ad-blocking software does a great job at blocking ads, but it also blocks useful features of our website. For the best site experience please disable your AdBlocker.

I've Disabled AdBlock    No Thanks