PHP Class Jetpack_Media_Summary, jetpack

embed [video] > gallery > image > text
Mostra file Open project: automattic/jetpack Class Usage Examples

Public Methods

Method Description
clean_text ( $text )
get ( $post_id, $blog_id, $args = [] )
get_excerpt ( $post_content, $post_excerpt, $max_words = 16, $max_chars = 256 )
get_link_count ( $post_content )
get_video_poster ( $type, $id )
get_word_count ( $post_content )
get_word_remaining_count ( $post_content, $excerpt_content )
https ( $str )
ssl_img ( $url )

Method Details

clean_text() static public method

static public clean_text ( $text )

get() static public method

static public get ( $post_id, $blog_id, $args = [] )

get_excerpt() static public method

static public get_excerpt ( $post_content, $post_excerpt, $max_words = 16, $max_chars = 256 )

get_video_poster() static public method

static public get_video_poster ( $type, $id )

get_word_count() static public method

static public get_word_count ( $post_content )

get_word_remaining_count() static public method

static public get_word_remaining_count ( $post_content, $excerpt_content )

https() static public method

static public https ( $str )

ssl_img() static public method

static public ssl_img ( $url )