Priority File Manager

📁 public_html
Base Directory:
/home/ecedu/public_html/wp-includes/customize
NameTypeSizeActions
📁 .. Folder -
📄 class-wp-customize-background-image-control.php File 1284
Edit Download
📄 class-wp-customize-background-image-setting.php File 639
Edit Download
📄 class-wp-customize-background-position-control.php File 3032
Edit Download
📄 class-wp-customize-code-editor-control.php File 2317
Edit Download
📄 class-wp-customize-color-control.php File 3066
Edit Download
📄 class-wp-customize-cropped-image-control.php File 1459
Edit Download
📄 class-wp-customize-custom-css-setting.php File 5288
Edit Download
📄 class-wp-customize-date-time-control.php File 9446
Edit Download
📄 class-wp-customize-filter-setting.php File 588
Edit Download
📄 class-wp-customize-header-image-control.php File 8030
Edit Download
📄 class-wp-customize-header-image-setting.php File 1782
Edit Download
📄 class-wp-customize-image-control.php File 1211
Edit Download
📄 class-wp-customize-media-control.php File 9415
Edit Download
📄 class-wp-customize-nav-menu-auto-add-control.php File 1122
Edit Download
📄 class-wp-customize-nav-menu-control.php File 2128
Edit Download
📄 class-wp-customize-nav-menu-item-control.php File 8157
Edit Download
📄 class-wp-customize-nav-menu-item-setting.php File 27869
Edit Download
📄 class-wp-customize-nav-menu-location-control.php File 2299
Edit Download
📄 class-wp-customize-nav-menu-locations-control.php File 2817
Edit Download
📄 class-wp-customize-nav-menu-name-control.php File 1131
Edit Download
📄 class-wp-customize-nav-menu-section.php File 716
Edit Download
📄 class-wp-customize-nav-menu-setting.php File 18936
Edit Download
📄 class-wp-customize-nav-menus-panel.php File 3309
Edit Download
📄 class-wp-customize-new-menu-control.php File 1710
Edit Download
📄 class-wp-customize-new-menu-section.php File 1693
Edit Download
📄 class-wp-customize-partial.php File 10568
Edit Download
📄 class-wp-customize-selective-refresh.php File 13754
Edit Download
📄 class-wp-customize-sidebar-section.php File 1059
Edit Download
📄 class-wp-customize-site-icon-control.php File 5173
Edit Download
📄 class-wp-customize-theme-control.php File 11889
Edit Download
📄 class-wp-customize-themes-panel.php File 3385
Edit Download
📄 class-wp-customize-themes-section.php File 6955
Edit Download
📄 class-wp-customize-upload-control.php File 1197
Edit Download
📄 class-wp-sidebar-block-editor-control.php File 686
Edit Download
📄 class-wp-widget-area-customize-control.php File 1719
Edit Download
📄 class-wp-widget-form-customize-control.php File 2646
Edit Download
$key = $args[ $key ]; } } $this->component = $component; $this->id = $id; $this->id_data['keys'] = preg_split( '/\[/', str_replace( ']', '', $this->id ) ); $this->id_data['base'] = array_shift( $this->id_data['keys'] ); if ( empty( $this->render_callback ) ) { $this->render_callback = array( $this, 'render_callback' ); } // Process settings. if ( ! isset( $this->settings ) ) { $this->settings = array( $id ); } elseif ( is_string( $this->settings ) ) { $this->settings = array( $this->settings ); } if ( empty( $this->primary_setting ) ) { $this->primary_setting = current( $this->settings ); } } /** * Retrieves parsed ID data for multidimensional setting. * * @since 4.5.0 * * @return array { * ID data for multidimensional partial. * * @type string $base ID base. * @type array $keys Keys for multidimensional array. * } */ final public function id_data() { return $this->id_data; } /** * Renders the template partial involving the associated settings. * * @since 4.5.0 * * @param array $container_context Optional. Array of context data associated with the target container (placement). * Default empty array. * @return string|array|false The rendered partial as a string, raw data array (for client-side JS template), * or false if no render applied. */ final public function render( $container_context = array() ) { $partial = $this; $rendered = false; if ( ! empty( $this->render_callback ) ) { ob_start(); $return_render = call_user_func( $this->render_callback, $this, $container_context ); $ob_render = ob_get_clean(); if ( null !== $return_render && '' !== $ob_render ) { _doing_it_wrong( __FUNCTION__, __( 'Partial render must echo the content or return the content string (or array), but not both.' ), '4.5.0' ); } /* * Note that the string return takes precedence because the $ob_render may just\ * include PHP warnings or notices. */ $rendered = null !== $return_render ? $return_render : $ob_render; } /** * Filters partial rendering. * * @since 4.5.0 * * @param string|array|false $rendered The partial value. Default false. * @param WP_Customize_Partial $partial WP_Customize_Setting instance. * @param array $container_context Optional array of context data associated with * the target container. */ $rendered = apply_filters( 'customize_partial_render', $rendered, $partial, $container_context ); /** * Filters partial rendering for a specific partial. * * The dynamic portion of the hook name, `$partial->ID` refers to the partial ID. * * @since 4.5.0 * * @param string|array|false $rendered The partial value. Default false. * @param WP_Customize_Partial $partial WP_Customize_Setting instance. * @param array $container_context Optional array of context data associated with * the target container. */ $rendered = apply_filters( "customize_partial_render_{$partial->id}", $rendered, $partial, $container_context ); return $rendered; } /** * Default callback used when invoking WP_Customize_Control::render(). * * Note that this method may echo the partial *or* return the partial as * a string or array, but not both. Output buffering is performed when this * is called. Subclasses can override this with their specific logic, or they * may provide an 'render_callback' argument to the constructor. * * This method may return an HTML string for straight DOM injection, or it * may return an array for supporting Partial JS subclasses to render by * applying to client-side templating. * * @since 4.5.0 * * @param WP_Customize_Partial $partial Partial. * @param array $context Context. * @return string|array|false */ public function render_callback( WP_Customize_Partial $partial, $context = array() ) { unset( $partial, $context ); return false; } /** * Retrieves the data to export to the client via JSON. * * @since 4.5.0 * * @return array Array of parameters passed to the JavaScript. */ public function json() { $exports = array( 'settings' => $this->settings, 'primarySetting' => $this->primary_setting, 'selector' => $this->selector, 'type' => $this->type, 'fallbackRefresh' => $this->fallback_refresh, 'containerInclusive' => $this->container_inclusive, ); return $exports; } /** * Checks if the user can refresh this partial. * * Returns false if the user cannot manipulate one of the associated settings, * or if one of the associated settings does not exist. * * @since 4.5.0 * * @return bool False if user can't edit one of the related settings, * or if one of the associated settings does not exist. */ final public function check_capabilities() { if ( ! empty( $this->capability ) && ! current_user_can( $this->capability ) ) { return false; } foreach ( $this->settings as $setting_id ) { $setting = $this->component->manager->get_setting( $setting_id ); if ( ! $setting || ! $setting->check_capabilities() ) { return false; } } return true; } }