Title: Changing the Inline Upload Source in Post.php
Last modified: August 18, 2016

---

# Changing the Inline Upload Source in Post.php

 *  [flymy](https://wordpress.org/support/users/flymy/)
 * (@flymy)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/changing-the-inline-upload-source-in-postphp/)
 * I use the _filosofo-old-style-upload_ plugin.
 * I would like to replace the Inline Upload in Post.php (which is inside an iframe),
   and to display there the _filosofo-old-style-upload_ plugin.
 * Does anyone have an idea on how to change the iframe source, but with a plugin
   and not through the system files???
 * If so, does anyone have an idea of how to call a function inside that iframe?

Viewing 8 replies - 1 through 8 (of 8 total)

 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [19 years, 1 month ago](https://wordpress.org/support/topic/changing-the-inline-upload-source-in-postphp/#post-552768)
 * The iframe source URL gets passed through a filter with a hook name of “uploading_iframe_src”.
   So you can change the source in a plugin by hooking that filter and changing 
   the URL to whatever you want.
 *  Thread Starter [flymy](https://wordpress.org/support/users/flymy/)
 * (@flymy)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/changing-the-inline-upload-source-in-postphp/#post-552770)
 * Doesn’t work. For example :
 *     ```
       function remove_crap_inlnupl() {
       $uploading_iframe_src = apply_filters('uploading_iframe_src', 'http://www.yahoo.com');
       }
   
       add_filter('uploading_iframe_src', 'remove_crap_inlnupl');
       ```
   
 * If you use this code, all you get is that post.php won’t load fully 🙁
 * Any _other_ idea?
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [19 years, 1 month ago](https://wordpress.org/support/topic/changing-the-inline-upload-source-in-postphp/#post-552781)
 * What the heck were you trying to do there? That’s not how you use a filter.
 * Try something more like this instead:
 *     ```
       function change_upload_src($src) {
       // $src is the original URL if you need it for anything
       return 'http://www.yahoo.com';
       }
       add_filter('uploading_iframe_src', 'change_upload_src');
       ```
   
 * Read this for more information:
    [http://codex.wordpress.org/Plugin_API#Filters](http://codex.wordpress.org/Plugin_API#Filters)
 *  Thread Starter [flymy](https://wordpress.org/support/users/flymy/)
 * (@flymy)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/changing-the-inline-upload-source-in-postphp/#post-552862)
 * Now, to the harddest part :
 * How do make the upload page of [**old-style-upload**](http://www.ilfilosofo.com/blog/old-style-upload/)
   plugin, to be displayed inside the iframe???
 * Using the link _[http://…/wp-admin/admin.php?page=filosofo-old-style-upload\_he.php](http://…/wp-admin/admin.php?page=filosofo-old-style-upload_he.php)_**
   is not an option**, because it’s not really comfortable.
 * Any idea please?
 *  Thread Starter [flymy](https://wordpress.org/support/users/flymy/)
 * (@flymy)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/changing-the-inline-upload-source-in-postphp/#post-552941)
 * Bumpo!!!
 *  Thread Starter [flymy](https://wordpress.org/support/users/flymy/)
 * (@flymy)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/changing-the-inline-upload-source-in-postphp/#post-552964)
 * _**Please Help Me!**_
 *  Moderator [Samuel Wood (Otto)](https://wordpress.org/support/users/otto42/)
 * (@otto42)
 * WordPress.org Admin
 * [19 years, 1 month ago](https://wordpress.org/support/topic/changing-the-inline-upload-source-in-postphp/#post-552967)
 * Help yourself. Why not ask the author of the plugin you’re talking about for 
   help?
 * We don’t do plugins here, for the most part, because we don’t know them all. 
   Sure, the more well known plugins get answers, but I’ve never heard of what you’re
   talking about, and I doubt most other people who read these forums have either.
 * So you’re better off going and asking the plugin’s author. Much better than bumping
   threads here, which will get you banned if you don’t watch it.
 *  Thread Starter [flymy](https://wordpress.org/support/users/flymy/)
 * (@flymy)
 * [19 years, 1 month ago](https://wordpress.org/support/topic/changing-the-inline-upload-source-in-postphp/#post-552968)
 * Thank for your _great _help.
 * I did talk the author of the plugin. He wanted 50 USD for his help. Due to lack
   of funds, obviously I came here for help.
 * If you don’t want/can’t to help, dont bother to reply.

Viewing 8 replies - 1 through 8 (of 8 total)

The topic ‘Changing the Inline Upload Source in Post.php’ is closed to new replies.

## Tags

 * [Filosofo](https://wordpress.org/support/topic-tag/filosofo/)
 * [iframe](https://wordpress.org/support/topic-tag/iframe/)
 * [old](https://wordpress.org/support/topic-tag/old/)
 * [style](https://wordpress.org/support/topic-tag/style/)
 * [upload](https://wordpress.org/support/topic-tag/upload/)

 * 8 replies
 * 2 participants
 * Last reply from: [flymy](https://wordpress.org/support/users/flymy/)
 * Last activity: [19 years, 1 month ago](https://wordpress.org/support/topic/changing-the-inline-upload-source-in-postphp/#post-552968)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
