class WpvPostFormats
get_first_gallery(string | null $content, string | null $original_content, string $thumbnail_name) : array
stringnullsearch string
stringnullcontent to extract the gallery from
stringthumbnail name for the current gallery
arraygallery shortcode and filtered content stringget_post_format_icon(string $format) : string
stringpost format name
stringicon 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().
stringThe quote html.get_thumb_name(array $post_data) : string
arraycurrent post data as used in WpvPostFormats::process($post_data)
stringthumbnail namepost_layout_info() : array
arrayfiltered post layout settingsprocess(array $post_data) : array
arraycurrent post data
arraycurrent post data, possibly modified for the respective post formatformat_audio(array $post_data) : array
arraycurrent post data
arraycurrent post data modified for the audio post formatformat_gallery(array $post_data) : array
arraycurrent post data
arraycurrent post data modified for the gallery post formatformat_image(array $post_data) : array
arraycurrent post data
arraycurrent post data modified for the image post formatformat_quote(array $post_data) : array
arraycurrent post data
arraycurrent post data modified for the quote post formatformat_standard(array $post_data) : array
arraycurrent post data
arraycurrent post data modified for the image post formatformat_video(array $post_data) : array
arraycurrent post data
arraycurrent post data modified for the video post format