Submit
Path:
~
/
home
/
getwphos
/
www
/
shellfish
/
wp-content
/
plugins
/
redux-framework
/
sample
/
sections
/
advanced-features
/
File Content:
field-sanitizing.php
<?php /** * Redux Framework field sanitizing config. * For full documentation, please visit: https://devs.redux.io/ * * @package Redux Framework */ defined( 'ABSPATH' ) || exit; Redux::set_section( $opt_name, array( 'title' => esc_html__( 'Field Sanitizing', 'your-textdomain-here' ), 'id' => 'sanitizing', // phpcs:ignore // 'desc' => esc_html__( 'For full documentation on sanitizing, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/configuration/fields/sanitizing/" target="_blank">https://devs.redux.io/configuration/fields/sanitizing/</a>', 'subsection' => true, 'fields' => array( array( 'id' => 'opt-text-uppercase', 'type' => 'text', 'title' => esc_html__( 'Text Option - Force Uppercase', 'your-textdomain-here' ), 'subtitle' => esc_html__( 'Uses the strtoupper function to force all uppercase characters.', 'your-textdomain-here' ), 'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ), 'sanitize' => array( 'strtoupper' ), 'default' => 'Force Uppercase', ), array( 'id' => 'opt-text-sanitize-title', 'type' => 'text', 'title' => esc_html__( 'Text Option - Sanitize Title', 'your-textdomain-here' ), 'subtitle' => esc_html__( 'Uses the WordPress sanitize_title function to format text.', 'your-textdomain-here' ), 'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ), 'sanitize' => array( 'sanitize_title' ), 'default' => 'Sanitize This Title', ), array( 'id' => 'opt-text-custom-sanitize', 'type' => 'text', 'title' => esc_html__( 'Text Option - Custom Sanitize', 'your-textdomain-here' ), 'subtitle' => esc_html__( 'Uses the custom function redux_custom_sanitize to capitalize every other letter.', 'your-textdomain-here' ), 'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ), 'sanitize' => array( 'redux_custom_sanitize' ), 'default' => 'Sanitize This Text', ), ), ) );
Submit
FILE
FOLDER
Name
Size
Permission
Action
callback.php
1581 bytes
0644
field-required-linking.php
5092 bytes
0644
field-sanitizing.php
2189 bytes
0644
field-validation.php
7890 bytes
0644
index.php
79 bytes
0644
wpml-integration.php
1477 bytes
0644
N4ST4R_ID | Naxtarrr