NOTE: If you have the post's HTML content already and don't need image data, use extract_from_content() instead.
public static extract ( $blog_id, $post_id, $what_to_extract = self::ALL ) | ||
$blog_id | The ID of the blog | |
$post_id | The ID of the post | |
$what_to_extract | (int) A mask of things to extract, e.g. Jetpack_Media_Meta_Extractor::IMAGES | Jetpack_Media_Meta_Extractor::MENTIONS |