Support » Plugin: acf-autosize » Optimize loading times

  • Hi,

    I like your plugin very much, but there is something I need to modify on my WP install:
    I’d like the function to operate only when we click on a textarea/wysiwyg field, NOT on page load.

    The reason:
    I created a fairly complex system based on ACF, with lots of fields, and since the plugin has to “scan” all the fields on load, it slows down the loading time by about 1 second. This is not a complaint at all, it’s perfectly normal with the number of fields we have, but since we use the system all day long I really need to optimize the loading times, even if it implies losing a bit of functionality.

    I tried to play around in the plugin code but couldn’t find the solution.

    THANK YOU !

    PS: If there is a specific filter/action that I can add to functions.php, better (as it would be update-proof)

  • You must be logged in to reply to this topic.