Description
Implement syntax hook for [bw_fields]Note: The parameter for listing the field names is now fields= since name= is used by get_posts() However, in [bw_field] we continue to support the name= parameter for backward compatibility with content generated by oik-tunes
Usage
bw_fields__syntax( $shortcode );Parameters
- $shortcode
- ( mixed ) optional default: bw_fields –
Returns
voidSource
File name: oik-fields/shortcodes/oik-fields.phpLines:
1 to 6 of 6
function bw_fields__syntax( $shortcode="bw_fields" ) { $syntax = array( "fields,0" => bw_skv( null, "<i>field names</i>", "CSV list of field names. Default: all registered fields" ) , "id" => bw_skv( null, "<i>ID</i>", "Post ID to use to access the fields" ) ); return( $syntax ); }View on GitHub
