sfv_get_post_video_source()
Retrieves the post video source.
sfv_get_post_video_source([int|WP_Post $post = null ]) : string|false
Parameters
-
$post
: int|WP_Post
= null
-
Optional. Post ID or WP_Post object. Default is global $post
.
-
since
-
1.0.0
sfv_has_post_video()
Determines whether a post has a video attached.
sfv_has_post_video([int|WP_Post $post = null ]) : bool
Parameters
-
$post
: int|WP_Post
= null
-
Optional. Post ID or WP_Post object. Default is global $post
.
-
since
-
1.0.0
sfv_get_post_video_id()
Retrieves the post video ID.
sfv_get_post_video_id([int|WP_Post $post = null ]) : int|false
Parameters
-
$post
: int|WP_Post
= null
-
Optional. Post ID or WP_Post object. Default is global $post
.
-
since
-
1.0.0
sfv_the_post_video()
Displays the post video.
sfv_the_post_video([string|array<string|int, mixed> $attr = '' ]) : mixed
Parameters
-
$attr
: string|array<string|int, mixed>
= ''
-
Optional. Query string or array of attributes. Default empty.
-
since
-
1.0.0
sfv_get_the_post_video()
Retrieves the post video.
sfv_get_the_post_video([int|WP_Post $post = null ][, string|array<string|int, mixed> $attr = '' ]) : string
Parameters
-
$post
: int|WP_Post
= null
-
Optional. Post ID or WP_Post object. Default is global $post
.
-
$attr
: string|array<string|int, mixed>
= ''
-
Optional. Query string or array of attributes. Default empty.
-
since
-
1.0.0
sfv_the_post_video_url()
Displays the post video URL.
sfv_the_post_video_url([mixed $post = null ]) : mixed
Parameters
-
$post
: mixed
= null
-
-
since
-
1.0.0
sfv_get_the_post_video_url()
Returns the post video URL.
sfv_get_the_post_video_url([int|WP_Post $post = null ]) : string|false
Parameters
-
$post
: int|WP_Post
= null
-
Optional. Post ID or WP_Post object. Default is global $post
.
-
since
-
1.0.0
sfv_the_post_video_caption()
Displays the post video caption.
sfv_the_post_video_caption([int|WP_Post $post = null ]) : mixed
Parameters
-
$post
: int|WP_Post
= null
-
Optional. Post ID or WP_Post object. Default is global $post
.
-
since
-
1.0.0
sfv_get_the_post_video_caption()
Returns the post video caption.
sfv_get_the_post_video_caption([int|WP_Post $post = null ]) : string
Parameters
-
$post
: int|WP_Post
= null
-
Optional. Post ID or WP_Post object. Default is global $post
.
-
since
-
1.0.0