Forums

Add From Server
[resolved] Add an option to disable saving last accessed folder (3 posts)

  1. sarangan112
    Member
    Posted 8 months ago #

    Hi,
    Please add an option to disable automatically saving the last accessed folder. When I import 100 of images from several folders, it's a hardwork to go back to default folder.

    I noticed your plugin saves last accessed folder in mysql. Tell me a way to disable that.

    http://wordpress.org/extend/plugins/add-from-server/

  2. Dion Hulse (@dd32)
    WordPress Dev
    Posted 8 months ago #

    There is no in built option, however, you could add this single line of code to an mu-plugin to disable the functionality:

    wp-content/mu-plugins/afs-remove-last-folder.php:
    <?php
    add_filter('option_frmsvr_last_folder', '__return_false');
    ?>

    You could also place that line in your custom themes functions.php file.

    Obviously, the other way, is to simply use the "Quick Jumps" feature to go directly to one of the common folders, you can see that in the first screenshot here: http://wordpress.org/extend/plugins/add-from-server/screenshots/

  3. sarangan112
    Member
    Posted 8 months ago #

    Thanks a lot.. It works. :-)

Reply

You must log in to post.

About this Plugin

About this Topic