Server IP : 104.21.14.48 / Your IP : 3.17.76.5 [ Web Server : Apache System : Linux b70eb322-3aee-0c53-7c82-0db91281f2c6.secureserver.net 6.1.90-1.el9.elrepo.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 2 12:09:22 EDT 2024 x86_64 User : root ( 0) PHP Version : 8.0.30.2 Disable Function : NONE Domains : 0 Domains MySQL : ON | cURL : ON | WGET : ON | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /var/www/wp-content/plugins/ultimate-dashboard/modules/branding/templates/fields/ |
Upload File : |
<?php /** * The "Enable block editor darkmode" field. * * @package Ultimate_Dashboard_PRO */ defined( 'ABSPATH' ) || die( "Can't access directly" ); /** * Outputting "enable block editor darkmode" field. */ return function () { $field_description = __( 'Enable dark mode for the block editor (Gutenberg).', 'ultimatedashboard' ); ?> <label for="udb_branding--block_editor_darkmode" class="toggle-switch"> <input type="checkbox" name="udb_branding[block_editor_darkmode]" id="udb_branding--block_editor_darkmode" value="0" disabled /> <div class="switch-track"> <div class="switch-thumb"></div> </div> </label> <p class="description"> <?php echo esc_html( $field_description ); ?> </p> <br> <div class="udb-pro-settings-page-notice"> <?php if ( ! udb_is_pro_active() ) : ?> <p><?php _e( 'This feature is available in Ultimate Dashboard PRO.' ); ?></p> <a href="https://ultimatedashboard.io/pro/?utm_source=plugin&utm_medium=white_label_link&utm_campaign=udb" class="button button-primary" target="_blank"> <?php _e( 'Get Ultimate Dashboard PRO', 'ultimate-dashboard' ); ?> </a> <?php endif; ?> </div> <?php };