You appear to be a bot. Output may be restricted
Description
Apply _atdot logic if required
Usage
$string = _bw_atdot( $email, $atts );
Parameters
- ( string ) required – email address
- $atts
- ( mixed ) required – array of parameters – possibly containing atdot=y or atdot=required email or at= and/or dot=
Returns
string the required resultSource
File name: oik/shortcodes/oik-email.phpLines:
1 to 15 of 15
function _bw_atdot( $email, $atts ) { $atdot = bw_array_get( $atts, "atdot", false ); if ( $atdot ) { if ( bw_validate_torf( $atdot ) ) { $email = _atdot( $email ); } else { $email = $atdot; } } else { $at = bw_array_get( $atts, "at", "@" ); $dot = bw_array_get( $atts, "dot", "." ); $email = _atdot( $email, $at, $dot ); } return( $email ); }View on GitHub View on Trac