Filters the default video shortcode output.
Description
If the filtered output isn’t empty, it will be used instead of generating the default video template.
See also
Parameters
$html
string- Empty variable to be replaced with shortcode markup.
$attr
array- Attributes of the shortcode. See wp_video_shortcode().
$content
string- Video shortcode content.
$instance
int- Unique numeric ID of this video shortcode instance.
Source
* @param string $library Media library used for the audio shortcode.
Changelog
Version | Description |
---|---|
3.6.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.