• Resolved pivot

    (@pivot)


    Thank you for a great plugin, it has solved many issues for me and continue to do so!

    I am looking to automate my wordpress media library and for that your Media Sync plugin should also be included in this. For this to be possible I would need to trigger both of your plugins main functions from command line or through a separate php script/plugin.

    Is this possible?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author erolsk8

    (@erolsk8)

    Hey @pivot, well, unfortunately, I don’t see how this could be possible right now. It’s very much contained within the plugin. Mainly for security reasons (using check_ajax_referer etc.). I know someone tried to target the same requests of this plugin, with similar intent as yours I believe, but they couldn’t do it because of those security restrictions.

    The only way I see would be to develop additional automation features, but since that would take some time and effort, it would likely be a premium add-on to this plugin.

    Sorry for the disappointing answer, but please let me know if you find a solution. And thank you for your kind words, I’m pleased to hear you’re finding this plugin useful! ??

    Erol

    Thread Starter pivot

    (@pivot)

    Thanks for your reply!

    That’s ok, I solved my primary need by using this add-on for wp-cli: https://github.com/unapersona/wp-cli-delete-missing-attachments/blob/main/README.md

    And I could potentially use this add-on if that need arises: https://github.com/wpup/wp-cli-media-restore

    The wp-cli routine I have automated, but I will still use your plugin for manual processing.

    Plugin Author erolsk8

    (@erolsk8)

    Oh nice, good to hear you found a solution. So I’ll just resolve this thread/topic. Thanks for sharing your findings.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Trigger scan of upload dir and filter of library for missing through through php’ is closed to new replies.