You appear to be a bot. Output may be restricted
Description
Implement syntax hook for [bw_field]Note: For [bw_fields] the parameter for listing the field names is now fields= since name= is used by get_posts() We continue to support name= for backward compatibility with content created by oik-tunes.
Usage
bw_field__syntax( $shortcode );
Parameters
- $shortcode
- ( mixed ) optional default: bw_field –
Returns
voidSource
File name: oik-fields/shortcodes/oik-field.phpLines:
1 to 7 of 7
function bw_field__syntax( $shortcode="bw_field" ) { $syntax = array( "fields" => bw_skv( null, "<i>field names</i>", "CSV list of field names. Default: all registered fields" ) , "name,0" => bw_skv( null, "<i>field name(s)</i>", "CSV list of field names." ) , "id" => bw_skv( null, "<i>ID</i>", "Post ID to use to access the fields" ) ); return( $syntax ); }View on GitHub