PHP Class Jetpack_Media_Summary, jetpack

embed [video] > gallery > image > text
Afficher le fichier Open project: automattic/jetpack Class Usage Examples

Méthodes publiques

Méthode 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 méthode

static public clean_text ( $text )

get() static public méthode

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

get_excerpt() static public méthode

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

get_video_poster() static public méthode

static public get_video_poster ( $type, $id )

get_word_count() static public méthode

static public get_word_count ( $post_content )

get_word_remaining_count() static public méthode

static public get_word_remaining_count ( $post_content, $excerpt_content )

https() static public méthode

static public https ( $str )

ssl_img() static public méthode

static public ssl_img ( $url )