# streamcast/2.3.4/frameworks/codestar-framework/functions/sanitize.php

StreamCast – bring live radio to your site with a sleek player, version 2.3.4. 30 lines.

- Page: https://pluginprobe.com/plugins/streamcast/2.3.4/code/frameworks/codestar-framework/functions/sanitize.php
- Raw: https://pluginprobe.com/plugins/streamcast/2.3.4/raw/frameworks/codestar-framework/functions/sanitize.php
- Modified: 2025-09-17T06:32:08+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/streamcast/2.3.4/code/frameworks/codestar-framework/functions/sanitize.php#L10-L20`.

```php
<?php if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access directly.
/**
 *
 * Sanitize
 * Replace letter a to letter b
 *
 * @since 1.0.0
 * @version 1.0.0
 *
 */
if ( ! function_exists( 'csf_sanitize_replace_a_to_b' ) ) {
  function csf_sanitize_replace_a_to_b( $value ) {
    return str_replace( 'a', 'b', $value );
  }
}

/**
 *
 * Sanitize title
 *
 * @since 1.0.0
 * @version 1.0.0
 *
 */
if ( ! function_exists( 'csf_sanitize_title' ) ) {
  function csf_sanitize_title( $value ) {
    return sanitize_title( $value );
  }
}

```
