balmet.com

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

multi-media.php (1034B)


      1 <?php
      2 /**
      3  * Redux Pro Multi-Media Sample config.
      4  *
      5  * For full documentation, please visit: http:https://devs.redux.io/
      6  *
      7  * @package Redux Pro
      8  */
      9 
     10 defined( 'ABSPATH' ) || exit;
     11 
     12 Redux::setSection(
     13 	$opt_name,
     14 	array(
     15 		'title'      => esc_html__( 'Multi Media Selector', 'your-textdomain-here' ),
     16 		'desc'       => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/premium/multi-media.html" target="_blank">https://devs.redux.io/premium/multi-media.html</a>',
     17 		'subsection' => true,
     18 		'fields'     => array(
     19 			array(
     20 				'id'              => 'opt-multi-media',
     21 				'type'            => 'multi_media',
     22 				'title'           => esc_html__( 'Multi Media Selector', 'your-textdomain-here' ),
     23 				'subtitle'        => esc_html__( 'Alternative media field which allows for multi selections', 'your-textdomain-here' ),
     24 				'desc'            => esc_html__( 'max_file_limit has been set to 5.', 'your-textdomain-here' ),
     25 				'max_file_upload' => 5,
     26 			),
     27 		),
     28 	)
     29 );