: str_replace(): Passing null to parameter #2 ($replace) of type array|string is deprecated in
* Redux Framework select config.
* For full documentation, please visit: http://devs.redux.io/
* @package Redux Framework
defined( 'ABSPATH' ) || exit;
'title' => esc_html__( 'Select', 'your-textdomain-here' ),
'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-fields/select.html" target="_blank">https://devs.redux.io/core-fields/select.html</a>',
'title' => esc_html__( 'Select Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
// Must provide key => value pairs for select options.
'id' => 'opt-select-stylesheet',
'title' => esc_html__( 'Theme Stylesheet', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'Select your themes alternative color scheme.', 'your-textdomain-here' ),
'default.css' => 'default.css',
'color1.css' => 'color1.css',
'default' => 'default.css',
'id' => 'opt-select-optgroup',
'title' => esc_html__( 'Select Option with optgroup', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
// Must provide key => value pairs for select options.
'id' => 'opt-multi-select',
'title' => esc_html__( 'Multi Select Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
// Must provide key => value pairs for radio options.
'default' => array( '2', '3' ),
'desc' => esc_html__( 'You can easily add a variety of data from WordPress.', 'your-textdomain-here' ),
'id' => 'opt-select-categories',
'title' => esc_html__( 'Categories Select Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'id' => 'opt-select-categories-multi',
'title' => esc_html__( 'Categories Multi Select Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'id' => 'opt-select-pages',
'title' => esc_html__( 'Pages Select Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'id' => 'opt-multi-select-pages',
'title' => esc_html__( 'Pages Multi Select Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'id' => 'opt-select-tags',
'title' => esc_html__( 'Tags Select Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'id' => 'opt-multi-select-tags',
'title' => esc_html__( 'Tags Multi Select Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'id' => 'opt-select-terms',
'title' => esc_html__( 'Terms Select Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'id' => 'opt-multi-select-terms',
'title' => esc_html__( 'Terms Multi Select Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'id' => 'opt-select-menus',
'title' => esc_html__( 'Menus Select Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'id' => 'opt-multi-select-menus',
'title' => esc_html__( 'Menus Multi Select Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'id' => 'opt-select-post-type',
'title' => esc_html__( 'Post Type Select Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'id' => 'opt-multi-select-post-type',
'title' => esc_html__( 'Post Type Multi Select Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'id' => 'opt-multi-select-sortable',
'title' => esc_html__( 'Post Type Multi Select Option + Sortable', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'This field also has sortable enabled!', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'id' => 'opt-select-posts',
'title' => esc_html__( 'Posts Select Option2', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'id' => 'opt-multi-select-posts',
'title' => esc_html__( 'Posts Multi Select Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'id' => 'opt-select-roles',
'title' => esc_html__( 'User Role Select Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'id' => 'opt-select-capabilities',
'data' => 'capabilities',
'title' => esc_html__( 'Capabilities Select Option w/ AJAX Loading', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'id' => 'opt-select-elusive',
'data' => 'elusive-icons',
'title' => esc_html__( 'Elusive Icons Select Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'Here\'s a list of all the elusive icons by name and icon.', 'your-textdomain-here' ),
'id' => 'opt-select-users',
'title' => esc_html__( 'Users Select Option', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'This is the description field, again good for additional info.', 'your-textdomain-here' ),
'id' => 'opt-select-callback',
'args' => 'redux_select_callback',
'title' => esc_html__( 'Select Option using a Callback', 'your-textdomain-here' ),
'subtitle' => esc_html__( 'No validation can be done on this field type', 'your-textdomain-here' ),
'desc' => esc_html__( 'The items in this select were added via a callback function.', 'your-textdomain-here' ),
* Select callback function.
function redux_select_callback(): array {
$options[0] = esc_html__( 'Zero', 'your-textdomain-here' );
$options[1] = esc_html__( 'One', 'your-textdomain-here' );
$options[2] = esc_html__( 'Two', 'your-textdomain-here' );
$options[3] = esc_html__( 'Three', 'your-textdomain-here' );