LLMS_Post_Model::to_array_extra_images( string $content )
Add images found in the post’s content to the post’s array
Parameters Parameters
- $content
-
(string) (Required) Raw
post_contentstring.
Return Return
(string[]) Array of image source URLs.
Source Source
File: includes/abstracts/abstract.llms.post.model.php
}
$blocks[ $post->ID ] = array(
'title' => $post->post_title,
'content' => $post->post_content,
);
}
return $blocks;
}
/**
* Add images found in the post's content to the post's array
*
* @since 4.7.0
*
* @param string $content Raw `post_content` string.
* @return string[] Array of image source URLs.
*/
protected function to_array_extra_images( $content ) {
Expand full source code Collapse full source code View on GitHub
Changelog Changelog
| Version | Description |
|---|---|
| 4.7.0 | Introduced. |