🔐 Sid Gifari File Manager Pro
v8.0.5 | 2026-06-19 10:45:48 | PHP 8.1.34
📂
/ (Root)
/
home
/
therahul
/
reenrihair.com
/
wp-content
/
plugins
/
mobile-menu
/
includes
/
plugin-settings
/
lib
📍 /home/therahul/reenrihair.com/wp-content/plugins/mobile-menu/includes/plugin-settings/lib
🔄 Refresh
✏️
Editing: class-option-note.php
Writable
<?php if ( ! defined( 'ABSPATH' ) ) { exit; // Exit if accessed directly } class MobileMenuOptionNote extends MobileMenuOption { public $defaultSecondarySettings = array( 'color' => 'green', // The color of the note's border 'notification' => false, 'paragraph' => true, ); /* * Display for options and meta */ public function display() { $this->echoOptionHeader(); $color = $this->settings['color'] == 'green' ? '' : 'error'; if ( $this->settings['notification'] ) { ?><div class='updated below-h2 <?php echo $color ?>'><?php } if ( $this->settings['paragraph'] ) { echo "<p class='description'>"; } echo $this->settings['desc']; if ( $this->settings['paragraph'] ) { echo '</p>'; } if ( $this->settings['notification'] ) { ?></div><?php } if ( $this->settings['name'] == 'Alerts' ) { foreach ( $this->owner->owner->get_alert_messages() as $message ) { echo '<p class="mm-alert-message"> - ' . $message . '</p>'; } } $this->echoOptionFooter( false ); } }
💾 Save Changes
❌ Cancel