# adminify/3.1.6/lib/adminify-framework/functions/sanitize.php

Adminify – White Label, Admin Menu Editor, Login Customizer, version 3.1.6. 29 lines.

- Page: https://pluginprobe.com/plugins/adminify/3.1.6/code/lib/adminify-framework/functions/sanitize.php
- Raw: https://pluginprobe.com/plugins/adminify/3.1.6/raw/lib/adminify-framework/functions/sanitize.php
- Modified: 2023-11-01T08:36:22+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/adminify/3.1.6/code/lib/adminify-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( 'adminify_sanitize_replace_a_to_b' ) ) {
	function adminify_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( 'adminify_sanitize_title' ) ) {
	function adminify_sanitize_title( $value ) {
		return sanitize_title( $value );
	}
}

```
