• I just want to know if this is possible or not (if it is, I’ll likely hire a developer to implement it): I have an automated daily script that will upload PDFs to the ‘/wp-content/uploads/’ folder of my WordPress website via FTP. However, those PDFs won’t get registered as attachment post-types in the WP Media Library (which I need). I don’t know much about WP-CLI, but I know you can run commands to register files into the WP Media Library. I need to find out if it’s possible for a developer to write a WP-CLI script that automatically checks on a daily basis if PDFs exist in the ‘/wp-content/uploads/’ folder which haven’t been registered yet, and then register them as attachments in the WP Media Library.

    Thoughts?

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘WP-CLI daily automated script that registers PDFs in Media Library’ is closed to new replies.