You appear to be a bot. Output may be restricted
Description
Example for the embed shortcodeThe embed shortcode requires an URL which can be provided as embedded content or passed in the src=
parameter.
e.g. [embed width="480"]https://www.youtube.com/watch?v=nH228-XQ-A8[/embed]
Usage
embed__example( $shortcode );
Parameters
- $shortcode
- ( string ) optional default: embed –
Returns
voidSource
File name: oik/libs/oik-sc-help.phpLines:
1 to 8 of 8
function embed__example( $shortcode='embed' ) { $atts = 'width="480" src=https://youtu.be/awgO9VlUWCY'; bw_invoke_shortcode( $shortcode, $atts, __( "Embed example", null ) ); global $wp_version; if ( version_compare( $wp_version, "4.9", "lt" ) ) { BW_::p( __( "Note: It's not possible to produce a proper working example due to the way the embed shortcode is handled.", null ) ); } }View on GitHub View on Trac