You appear to be a bot. Output may be restricted
Description
build the content for a text field if the checkbox is "on"
Usage
bw_build_content( $array, $index );
Parameters
- $array
- ( mixed ) required –
- $index
- ( mixed ) required –
Returns
voidSource
File name: oik-privacy-policy/admin/oik-privacy-policy.phpLines:
1 to 9 of 9
function bw_build_content( $array, $index ) { $cb = bw_array_get( $array, "{$index}_cb", false ); if ( $cb ) $text = bw_array_get( $array, $index, null ); else $text = null; if ( $text ) e( $text ); }View on GitHub View on Trac