Plugin filters / cbc compatibility url meta

Description

Use this filter to set a custom field with the video URL when importing new videos for your WordPress theme and your theme requires the video URL to be filled. This filter is part of the Third party compatibility tutorial.

Parameters

$field_name
(string)(required) The post custom field name where the video URL should be stored for your theme.

Default:false

Examples

Automatically enter video URL into specified custom field when creating a new video post.

Related