wp_maybe_generate_attachment_metadata

SummerySummery

Maybe attempts to generate attachment metadata, if missing.

Syntax

wp_maybe_generate_attachment_metadata( WP_Post $attachment )

ParametersParameters

$attachment

(WP_Post) (Required) Attachment object.

SourceSource

File: wp-includes/media.php


			

ChangelogChangelog

Changelog
Version Description
3.9.0 Introduced.
Scroll to Top