wp/wp-content/themes/IN-MOTION-package-u1/option-tree/includes/ot-ui-theme-options.php
Update Docker configuration and plugin versions
- Upgrade MariaDB from 10.6 to 11 with auto-upgrade support
- Add WordPress debug environment variable to FPM container
- Update PHP-FPM Dockerfile base image
- Update Include Mastodon Feed plugin with bug fixes and improvements
- Update Portfolio plugin (v2.58) with latest translations and demo data enhancements
- Remove old README.md from Mastodon Feed plugin
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
<?php if ( ! defined( 'OT_VERSION') ) exit( 'No direct script access allowed' );
/**
* Builds the Theme Option UI.
*
* @uses ot_register_settings()
*
* @package OptionTree
* @author Derek Herman <derek@valendesigns.com>
* @copyright Copyright (c) 2012, Derek Herman
*/
/* get the settings array */
$get_settings = get_option( 'option_tree_settings' );
/* sections array */
$sections = isset( $get_settings['sections'] ) ? $get_settings['sections'] : array();
/* settings array */
$settings = isset( $get_settings['settings'] ) ? $get_settings['settings'] : array();
/* contexual_help array */
$contextual_help = isset( $get_settings['contextual_help'] ) ? $get_settings['contextual_help'] : array();
/* build the Theme Options */
if ( function_exists( 'ot_register_settings' ) ) {
ot_register_settings( array(
array(
'id' => 'option_tree',
'pages' => array(
array(
'id' => 'ot_theme_options',
'parent_slug' => 'themes.php',
'page_title' => apply_filters( 'ot_theme_options_page_title', __( 'Theme Options', 'option-tree' ) ),
'menu_title' => apply_filters( 'ot_theme_options_menu_title', __( 'Theme Options', 'option-tree' ) ),
'capability' => apply_filters( 'ot_theme_options_capability', 'edit_theme_options' ),
'menu_slug' => 'ot-theme-options',
'icon_url' => apply_filters( 'ot_theme_options_icon_url', null ),
'position' => apply_filters( 'ot_theme_options_position', null ),
'updated_message' => apply_filters( 'ot_theme_options_updated_message', __( 'Theme Options updated.', 'option-tree' ) ),
'reset_message' => apply_filters( 'ot_theme_options_reset_message', __( 'Theme Options reset.', 'option-tree' ) ),
'button_text' => apply_filters( 'ot_theme_options_button_text', __( 'Save Changes', 'option-tree' ) ),
'screen_icon' => 'themes',
'contextual_help' => $contextual_help,
'sections' => $sections,
'settings' => $settings
)
)
)
)
);
}
/* End of file ot-ui-theme-options.php */
/* Location: ./option-tree/ot-ui-theme-options.php */