wpsc_deep_replace()
copy of _deep_replace() to be used before WordPress loads
No Hooks.
Return
null
. Nothing (null).
Usage
wpsc_deep_replace( $search, $subject );
- $search (required)
- -
- $subject (required)
- -
wpsc_deep_replace() wpsc deep replace code WPSCache 1.12.4
function wpsc_deep_replace( $search, $subject ) { $subject = (string) $subject; $count = 1; while ( $count ) { $subject = str_replace( $search, '', $subject, $count ); } return $subject; }