| Server IP : 103.249.100.196 / Your IP : 216.73.216.194 Web Server : Apache System : Linux cp196.maytech.vn 5.14.0-687.66.2.el9_8.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Nov 6 16:20:31 EST 2026 x86_64 User : dlsafepha ( 1078) PHP Version : 8.2.36 Disable Function : exec,passthru,shell_exec,system MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /home2/dlsafepha/www/wp-content/plugins/redux-framework/sample/sections/extensions/ |
Upload File : |
<?php /** * Accordion config. * * For full documentation, please visit: https://devs.redux.io * * @package Redux */ // phpcs:disable defined( 'ABSPATH' ) || exit; Redux::set_section( $opt_name, array( 'title' => esc_html__( 'Accordion', 'your-textdomain-here' ), 'desc' => esc_html__( 'For full documentation on this field, visit: ', 'your-textdomain-here' ) . '<a href="https://devs.redux.io/core-extensions/accordion.html" target="_blank">https://devs.redux.io/core-extensions/accordion.html</a>', 'subsection' => true, 'fields' => array( array( 'id' => 'accordion-section-1', 'type' => 'accordion', 'title' => esc_html__( 'Accordion Section One', 'your-textdomain-here' ), 'subtitle' => esc_html__( 'Section one with subtitle', 'your-textdomain-here' ), 'position' => 'start', ), array( 'id' => 'opt-blank-text-1', 'type' => 'text', 'title' => esc_html__( 'Text box for some noble purpose.', 'your-textdomain-here' ), 'subtitle' => esc_html__( 'Frailty, thy name is woman!', 'your-textdomain-here' ), ), array( 'id' => 'opt-switch-1', 'type' => 'switch', 'title' => esc_html__( 'Switch, for some other important task!', 'your-textdomain-here' ), 'subtitle' => esc_html__( 'Physician, heal thyself!', 'your-textdomain-here' ), ), array( 'id' => 'accordion-section-end-1', 'type' => 'accordion', 'position' => 'end', ), array( 'id' => 'accordion-section-2', 'type' => 'accordion', 'title' => esc_html__( 'Accordion Section Two (no subtitle)', 'your-textdomain-here' ), 'position' => 'start', 'open' => true, ), array( 'id' => 'opt-blank-text-3', 'type' => 'text', 'title' => esc_html__( 'Look, another sample text box.', 'your-textdomain-here' ), 'subtitle' => esc_html__( 'The tartness of his face sours ripe grapes.', 'your-textdomain-here' ), ), array( 'id' => 'opt-switch-2', 'type' => 'switch', 'title' => esc_html__( 'Yes, another switch, but you\'re free to use any field you like.', 'your-textdomain-here' ), 'subtitle' => esc_html__( 'I scorn you, scurvy companion!', 'your-textdomain-here' ), ), array( 'id' => 'accordion-section-end-2', 'type' => 'accordion', 'position' => 'end', ), ), ) ); // phpcs:enable