
This plugin adds a “Photo Directory” search UI to wp-admin that talks to the
public Photo Directory REST API.
You can search, preview, and import photos directly into your own Media
Library, where the imported image behaves exactly like any regular upload
— usable as a featured image, inside blocks, in a gallery, etc.
Entry points:
includes/class-photofetch-api.php::normalize_item() is wherealt/author fields — it tries several plausible shapesmedia_details.sizes, an embedded featured-media object, a barePhotoFetch_API::normalize_item() forphotofetch_generic_title_placeholders filter) arered-fox-in-snow “Red fox in snow”). Ifwp_image_editor_supports() at import time_photofetch_source_url / _photofetch_source_author attachment