X7ROOT File Manager
Current Path:
/home/oakwood/public_html/wp-content/plugins/wordfence/views/options
home
/
oakwood
/
public_html
/
wp-content
/
plugins
/
wordfence
/
views
/
options
/
ðŸ“
..
📄
block-all-options-controls.php
(7.2 KB)
📄
block-controls.php
(5.33 KB)
📄
option-label.php
(1.31 KB)
📄
option-select.php
(2.46 KB)
📄
option-switch.php
(3.26 KB)
📄
option-text.php
(2.41 KB)
📄
option-textarea.php
(3.17 KB)
📄
option-toggled-boolean-switch.php
(2.9 KB)
📄
option-toggled-multiple.php
(2.94 KB)
📄
option-toggled-segmented.php
(2.96 KB)
📄
option-toggled-select.php
(3.67 KB)
📄
option-toggled-sub.php
(5.05 KB)
📄
option-toggled-textarea.php
(3.34 KB)
📄
option-toggled.php
(3.03 KB)
📄
option-token.php
(2.41 KB)
📄
options-title.php
(2.79 KB)
Editing: option-text.php
<?php if (!defined('WORDFENCE_VERSION')) { exit; } /** * Presents a text field option. * * Expects $textOptionName, $textValue, and $title to be defined. $placeholder and $helpLink may also be defined. * * @var string $textOptionName The option name for the text field. * @var string $textValue The current value of $textOptionName. * @var string $title The title shown for the option. * @var string $placeholder If defined, the placeholder for the text field. * @var string $helpLink If defined, the link to the corresponding external help page. * @var bool $premium If defined, the option will be tagged as premium only and not allow its value to change for free users. */ if (!isset($placeholder)) { $placeholder = ''; } $id = 'wf-option-' . preg_replace('/[^a-z0-9]/i', '-', $textOptionName); ?> <ul id="<?php echo esc_attr($id); ?>" class="wf-option wf-option-text<?php if (!wfConfig::p() && isset($premium) && $premium) { echo ' wf-option-premium'; } ?>" data-text-option="<?php echo esc_attr($textOptionName); ?>" data-original-text-value="<?php echo esc_attr($textValue); ?>"> <li class="wf-option-spacer"></li> <li class="wf-option-content"> <ul> <li class="wf-option-title"> <?php if (isset($subtitle)): ?> <ul class="wf-flex-vertical wf-flex-align-left"> <li> <?php endif; ?> <span id="<?php echo esc_attr($id); ?>-label"><?php echo esc_html($title); ?></span><?php if (!wfConfig::p() && isset($premium) && $premium) { echo ' <a href="https://www.wordfence.com/gnl1optionUpgrade/wordfence-signup/" target="_blank" rel="noopener noreferrer" class="wf-premium-link">' . esc_html__('Premium Feature', 'wordfence') . '</a>'; } ?><?php if (isset($helpLink)) { echo ' <a href="' . esc_attr($helpLink) . '" target="_blank" rel="noopener noreferrer" class="wf-inline-help"><i class="wf-fa wf-fa-question-circle-o" aria-hidden="true"></i><span class="screen-reader-text"> (' . esc_html__('opens in new tab', 'wordfence') . ')</span></a>'; } ?> <?php if (isset($subtitle)): ?> </li> <li class="wf-option-subtitle"><?php echo esc_html($subtitle); ?></li> </ul> <?php endif; ?> </li> <li class="wf-option-text"> <input type="text" value="<?php echo esc_attr($textValue); ?>" placeholder="<?php echo esc_attr($placeholder); ?>"<?php echo (!(!wfConfig::p() && isset($premium) && $premium) ? '' : ' disabled'); ?> aria-labelledby="<?php echo esc_attr($id); ?>-label"> </li> </ul> </li> </ul>
Upload File
Create Folder