Description
Usage
bw_attachments__syntax( $shortcode );Parameters
- $shortcode
- ( mixed ) optional default: bw_attachments –
Returns
voidSource
File name: oik/shortcodes/oik-attachments.phpLines:
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 GitHub View on Trac
Called by
1 to 2 of 2
Invoked by
Calls
1 to 5 of 5
- BW_::bw_skv() – Return the default, values and notes for a shortcode parameter
- _sc_captions() – Syntax helper for captions= parameter
- _sc_classes() – Helper functions for shortcodes that support these atts
- _sc_posts() – Helper function for shortcodes that use bw_get_posts()
- _sc_thumbnail() – Helper function for shortcodes that display images
