Description
Usage
bw_images__syntax( $shortcode );Parameters
- $shortcode
- ( mixed ) optional default: bw_images –
Returns
voidSource
File name: oik/shortcodes/oik-attachments.phpLines:
1 to 11 of 11
function bw_images__syntax( $shortcode="bw_images" ) { $syntax = _sc_posts(); $syntax['post_type'] = BW_::bw_skv( "attachment", "<i>" . __( "post type", "oik" ) . "</i>", __( "Post type to display", "oik" ) ); $syntax['post_mime_type'] = BW_::bw_skv( "image", "<i>" . __( "post mime types", "oik" ) . "</i>", __( "Image type", "oik" ) ); $syntax['thumbnail'] = BW_::bw_skv( "full", "thumbnail|medium|large|nnn|wxh", __( "image size", "oik" ) ); $syntax['link'] = BW_::bw_skv( null, "0|id,p", __("link to", "oik" ) ); $syntax['titles'] = BW_::bw_skv( "y", "n", __( "Display titles", 'oik') ); $syntax += _sc_captions(); $syntax += _sc_classes(); return( $syntax ); }View on GitHub View on Trac
Called by
1 to 2 of 2
Invoked by
Calls
1 to 4 of 4
