PluginProbe
Cool Timeline (Horizontal & Vertical Timeline) / trunk
Cool Timeline (Horizontal & Vertical Timeline) vtrunk
3.4.0 3.3.6 3.3.5 3.3.4 3.3.3 3.3.2 2.2.3 2.3.3 2.4 2.4.1 2.4.2 2.4.3 2.4.4 2.4.5 2.6.1 2.7.1 2.8.3 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7 2.9.8 2.9.9 3.0.0 All 79 releases
cool-timeline / admin / codestar-framework / functions / sanitize.php

sanitize.php in Cool Timeline (Horizontal & Vertical Timeline) trunk, at admin/codestar-framework/functions/sanitize.php

32 lines 710 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined( 'ABSPATH' ) ) { die; } // Cannot access directly.
2 /**
3 *
4 * Sanitize
5 * Replace letter a to letter b
6 *
7 * @since 1.0.0
8 * @version 1.0.0
9 *
10 */
11 if ( ! function_exists( 'csf_sanitize_replace_a_to_b' ) ) {
12 // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound
13 function csf_sanitize_replace_a_to_b( $value ) {
14 return str_replace( 'a', 'b', $value );
15 }
16 }
17
18 /**
19 *
20 * Sanitize title
21 *
22 * @since 1.0.0
23 * @version 1.0.0
24 *
25 */
26 if ( ! function_exists( 'csf_sanitize_title' ) ) {
27 // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedFunctionFound
28 function csf_sanitize_title( $value ) {
29 return sanitize_title( $value );
30 }
31 }
32