Support » Plugins and Hacks » attachment_fields_to_save and ALT-text for image
4 years, 3 months ago
Try to automatically add “ALT” text to images, using filter attachment_fields_to_save, looks like:
function filter_addAltText($post, $attachment)
$attachment[‘image_alt’]=’My special image ALT text!’;
But no effect. Any suggestions?