Bulk update image attributes (WordPress)

Uit De Vliegende Brigade
Naar navigatie springen Naar zoeken springen

Use case (2023.08): How to update in bulk the alt text attibutes of lots of images?

  • File names & new alt texts are stored in a Bash associated array
  • PK is in this case the file name: I don't trust the WordPress name and title attributes for this: I have no idea if these are reliable