Description
Control whether the video is embedded below the post content (true) or above it (false), globally for all video posts.
Parameters
- $below
- (bool)(required) Whether to embed below the content.
- Default:based on the video position setting
- $post
- (WP_Post)(optional) The current post object.
- Default:None
- $video
- (array)(optional) Video details returned by the YouTube API.
- Default:None
Example
// Always show the player above the content.
add_filter( 'cbc_video_post_embed_below_content', '__return_false' );