PluginProbe
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News / 2.4.1
Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News v2.4.1
4.0.8 4.0.7 4.0.6 4.0.5 4.0.4 4.0.3 4.0.2 4.0.1 2.3.5 2.3.6 2.4.0 2.4.1 2.4.10 2.4.11 2.4.12 2.4.13 2.4.14 2.4.15 2.4.16 2.4.17 2.4.18 2.4.19 2.4.2 2.4.20 2.4.21 All 88 releases
post-carousel / admin / views / sp-framework / functions / sanitize.php

sanitize.php in Smart Post – Post Grid, Post Carousel, Post Slider Gutenberg Blocks for Blog & News 2.4.1, at admin/views/sp-framework/functions/sanitize.php

37 lines 648 B
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php if ( ! defined( 'ABSPATH' ) ) {
2 die;
3 } // Cannot access directly.
4
5 if ( ! function_exists( 'spf_sanitize_replace_a_to_b' ) ) {
6 /**
7 * Sanitize
8 * Replace letter a to letter b
9 *
10 * @since 1.0.0
11 * @version 1.0.0
12 *
13 * @param string $value the value.
14 * @return mixed
15 */
16 function spf_sanitize_replace_a_to_b( $value ) {
17
18 return str_replace( 'a', 'b', $value );
19 }
20 }
21
22 if ( ! function_exists( 'spf_sanitize_title' ) ) {
23 /**
24 * Sanitize title
25 *
26 * @since 1.0.0
27 * @version 1.0.0
28 *
29 * @param string $value The title.
30 * @return string
31 */
32 function spf_sanitize_title( $value ) {
33
34 return sanitize_title( $value );
35 }
36 }
37