You appear to be a bot. Output may be restricted
Description
Theme a field of type 'URL'Display a link to the given URL.
Usage
bw_theme_field_URL( $key, $value );
Parameters
- $key
- ( string ) required – the field name
- $value
- ( array ) required – the field value at index 0
Returns
voidTO DO
Assume an http:// prefix a la bw_linkSource
File name: oik-fields/includes/oik-fields.incLines:
1 to 10 of 10
function bw_theme_field_URL( $key, $value ) { $v0 = bw_array_get( $value, 0, $value ); if ( $v0 ) { oik_require( "shortcodes/oik-link.php" ); $url = bw_link_url( $v0, null ); $text = trim_scheme( $v0 ); $link = retlink( null, $url, $text ); e( $link ); } }View on GitHub