bw_attachments__syntax() – bw attachments syntax

You appear to be a bot. Output may be restricted

Description

Usage

bw_attachments__syntax( $shortcode );

Parameters

$shortcode
( mixed ) optional default: bw_attachments –

Returns

void

Source

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

1 to 9 of 9
function bw_attachments__syntax( $shortcode="bw_attachments" ) {
  $syntax = _sc_posts(); 
  $syntax['post_type'] = BW_::bw_skv( "attachment", "<i>" . __( "post type", "oik" ) . "</i>", __( "Post type to display", "oik" ) );
  $syntax += _sc_thumbnail();
  $syntax['titles'] = BW_::bw_skv( 'y', 'n', __('Display titles', 'oik' ) );
  $syntax += _sc_captions();
  $syntax += _sc_classes();
  return( $syntax );   
}
 

 View on Trac