bw_iframe__syntax() – bw iframe syntax

You appear to be a bot. Output may be restricted

Description

Syntax for [bw_iframe] shortcode

Usage

bw_iframe__syntax( $shortcode );

Parameters

$shortcode
( mixed ) optional default: bw_iframe –

Returns

void

Source

File name: oik/shortcodes/oik-iframe.php
Lines:

1 to 13 of 13
function bw_iframe__syntax( $shortcode="bw_iframe" ) {
  $syntax = array( "url" => BW_::bw_skv( null, __( "URL", "oik" ), __( "Full URL for the page", "oik" ) )
                 , "src" => BW_::bw_skv( null, __( "URL", "oik" ), __( "Full URL for the page - use as an alternative to the url= parameter", "oik" ) )
                 , "width" => BW_::bw_skv( null, "<i>" . __( "numeric", "oik" ) . "</i>", __( "Width in pixels", "oik" ) )
                 , "height" => BW_::bw_skv( null, "<i>" . __( "numeric", "oik" ) . "</i>", __( "Height in pixels", "oik" ) )
                 , "scrolling" => BW_::bw_skv( "no", "yes", __( "Support vertical scrolling", "oik" ) )
                 , "frameborder" => BW_::bw_skv( "0", "1", __( "Value for frameborder parameter", "oik" ) )
                 , "type" => BW_::bw_skv( "text/html", __( "string", "oik" ), __( "Type of the iframe", "oik" ) ) 
                 );
  // Add the others                 
  $syntax += _sc_classes();                
  return( $syntax );
}
 

 View on Trac