You appear to be a bot. Output may be restricted
Description
Return an array without the specified keys
Usage
$array = bw_unset_atts( $atts, $drop );
Parameters
- $atts
- ( array ) required – the original array that may contain the keys
- $drop
- ( mixed ) required – a string or array of keys to drop
Returns
array the target arraySource
File name: oik/includes/bw_jquery.incLines:
1 to 8 of 8
function bw_unset_atts( $atts, $drop ) { $ratts = $atts; $drops = bw_as_array( $drop ); foreach ( $drops as $key => $value ) { unset( $ratts[$value] ) ; } return( $ratts ); }View on GitHub View on Trac