wp/wp-content/plugins/option-tree/assets/theme-mode/demo-functions.php
author ymh <ymh.work@gmail.com>
Fri, 05 Sep 2025 18:40:08 +0200
changeset 21 48c4eec2b7e6
parent 5 5e2f62d02dcd
permissions -rwxr-xr-x
Add CLAUDE.md documentation and sync WordPress core files - Add comprehensive CLAUDE.md documentation file with project architecture, development setup, database operations, WordPress CLI usage, file sync procedures, and Mercurial commands - Update WordPress core files from wordpress/ to wp/ directory - Sync latest WordPress admin interface, includes, and core functionality - Update plugins: portfolio plugin with latest BWS framework and fancybox integration - Maintain custom configuration and theme files 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>

<?php
/**
 * Theme Mode
 */
# add_filter( 'ot_theme_mode', '__return_false' );

/**
 * Child Theme Mode
 */
# add_filter( 'ot_child_theme_mode', '__return_false' );

/**
 * Show Settings Pages
 */
# add_filter( 'ot_show_pages', '__return_true' );

/**
 * Show Theme Options UI Builder
 */
# add_filter( 'ot_show_options_ui', '__return_true' );

/**
 * Show Settings Import
 */
# add_filter( 'ot_show_settings_import', '__return_true' );

/**
 * Show Settings Export
 */
# add_filter( 'ot_show_settings_export', '__return_true' );

/**
 * Show New Layout
 */
# add_filter( 'ot_show_new_layout', '__return_true' );

/**
 * Show Documentation
 */
# add_filter( 'ot_show_docs', '__return_true' );

/**
 * Custom Theme Option page
 */
# add_filter( 'ot_use_theme_options', '__return_true' );

/**
 * Meta Boxes
 */
# add_filter( 'ot_meta_boxes', '__return_true' );

/**
 * Allow Unfiltered HTML in textareas options
 */
# add_filter( 'ot_allow_unfiltered_html', '__return_false' );

/**
 * Loads the meta boxes for post formats
 */
# add_filter( 'ot_post_formats', '__return_true' );

/**
 * OptionTree in Theme Mode
 */
# require( trailingslashit( get_template_directory() ) . 'option-tree/ot-loader.php' );

/**
 * Theme Options
 */
# require( trailingslashit( get_template_directory() ) . 'admin/theme-options.php' );