Forum Replies Created

Viewing 1 replies (of 1 total)
  • Thread Starter DemInPractice

    (@deminpractice)

    Thanks for the reply leejosepho! That first route worries me a bit that maybe my Page Builder Templates might get forgotten, or something else that I’ve jimmy-rigged into place.

    I found this suggestion online to run these queries in phpMyAdmin to delete all media in the library, and remove all post attachment affiliation:

    # First:
    
        DELETE FROM wp_postmeta
        WHERE post_id IN
        (
        SELECT id
        FROM wp_posts
        WHERE post_type = 'attachment'
        )
        ;
    
        # Second:
    
        DELETE FROM wp_posts WHERE post_type = 'attachment'

    Would that work as well? Any drawbacks of that approach?

    Thanks,

    Adam

Viewing 1 replies (of 1 total)