Hot answers tagged media-library
From the WP-CLI documentation about wp post delete: wp post delete $(wp post list --post_type='attachment' --format=ids) See wp post list for additional information.
Order by the author's display name: This is most likely by design, because the only information about the author in the wp_posts table is the author ID. We can join it with the wp_users table to get more information about the user and then modify the order accordingly. Here's an example how we can order by the display name: /** * Modify the author ...
Found the problem. It was a problem with my host, in the path the ID3 folder name was uppercase, while on the server for some reason it was lowercase, this is why it didn't find it.
Only top voted, non community-wiki answers of a minimum length are eligible