class WpvPostFormats
get_first_gallery(string | null $content, string | null $original_content, string $thumbnail_name) : array
string
null
search string
string
null
content to extract the gallery from
string
thumbnail name for the current gallery
array
gallery shortcode and filtered content stringget_post_format_icon(string $format) : string
string
post format name
string
icon nameget_the_post_format_quote(object $post) : string
uses | \get_content_quote() |
---|
object
(optional) A reference to the post object, falls back to get_post().
string
The quote html.get_thumb_name(array $post_data) : string
array
current post data as used in WpvPostFormats::process($post_data)
string
thumbnail namepost_layout_info() : array
array
filtered post layout settingsprocess(array $post_data) : array
array
current post data
array
current post data, possibly modified for the respective post formatformat_audio(array $post_data) : array
array
current post data
array
current post data modified for the audio post formatformat_gallery(array $post_data) : array
array
current post data
array
current post data modified for the gallery post formatformat_image(array $post_data) : array
array
current post data
array
current post data modified for the image post formatformat_quote(array $post_data) : array
array
current post data
array
current post data modified for the quote post formatformat_standard(array $post_data) : array
array
current post data
array
current post data modified for the image post formatformat_video(array $post_data) : array
array
current post data
array
current post data modified for the video post format