panels example

$settings['theme']['_filesystemCredentialsNeeded'] = true;
        }

        // Prepare Customize Section objects to pass to JavaScript.         foreach ( $this->sections() as $id => $section ) {
            if ( $section->check_capabilities() ) {
                $settings['sections'][ $id ] = $section->json();
            }
        }

        // Prepare Customize Panel objects to pass to JavaScript.         foreach ( $this->panels() as $panel_id => $panel ) {
            if ( $panel->check_capabilities() ) {
                $settings['panels'][ $panel_id ] = $panel->json();
                foreach ( $panel->sections as $section_id => $section ) {
                    if ( $section->check_capabilities() ) {
                        $settings['sections'][ $section_id ] = $section->json();
                    }
                }
            }
        }

        ?>
Home | Imprint | This part of the site doesn't use cookies.