__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ V /  | |__) | __ ___   ____ _| |_ ___  | (___ | |__   ___| | |
 | |\/| | '__|> <   |  ___/ '__| \ \ / / _` | __/ _ \  \___ \| '_ \ / _ \ | |
 | |  | | |_ / . \  | |   | |  | |\ V / (_| | ||  __/  ____) | | | |  __/ | |
 |_|  |_|_(_)_/ \_\ |_|   |_|  |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1
 if you need WebShell for Seo everyday contact me on Telegram
 Telegram Address : @jackleet
        
        
For_More_Tools: Telegram: @jackleet | Bulk Smtp support mail sender | Business Mail Collector | Mail Bouncer All Mail | Bulk Office Mail Validator | Html Letter private



Upload:

Command:

[email protected]: ~ $
<?php
/**
 * Helpers functions for the Education pages.
 *
 * @since 1.8.2.2
 */

/**
 * Get the button.
 *
 * @since 1.8.2.2
 * @since 1.9.6.1 Add $license_level parameter.
 *
 * @param string $action        Action to perform.
 * @param bool   $plugin_allow  Is plugin allowed.
 * @param string $path          Plugin file.
 * @param string $url           URL for download plugin.
 * @param array  $utm           UTM parameters.
 * @param string $license_level License level.
 */
function wpforms_edu_get_button( $action, $plugin_allow, $path, $url, $utm, $license_level = '' ) {

	// If the user is not allowed to use the plugin, show the upgrade button.
	if ( ! $plugin_allow ) {
		wpforms_edu_get_upgrade_button( $utm, [], $license_level );

		return;
	}

	$status      = 'inactive';
	$data_plugin = $path;
	$title       = esc_html__( 'Activate', 'wpforms-lite' );
	$can_install = wpforms_can_install( 'addon' );

	if ( $action === 'install' ) {
		$status      = 'download';
		$data_plugin = $url;
		$title       = esc_html__( 'Install & Activate', 'wpforms-lite' );
	}

	?>

	<?php if ( $action === 'install' && ! $can_install ) : ?>
		<div class="wpforms-notice wpforms-error">
			<p><?php esc_html_e( 'Plugin installation is disabled for this site.', 'wpforms-lite' ); ?></p>
		</div>
	<?php else : ?>
		<button
			class="status-<?php echo esc_attr( $status ); ?> wpforms-btn wpforms-btn-lg wpforms-btn-blue wpforms-education-toggle-plugin-btn"
			data-type="addon"
			data-action="<?php echo esc_attr( $action ); ?>"
			data-plugin="<?php echo esc_attr( $data_plugin ); ?>">
			<i></i><?php echo esc_html( $title ); ?>
	<?php endif; ?>
	<?php
}

/**
 * Get the upgrade button.
 *
 * @since 1.8.2.2
 * @since 1.9.6.1 Add $license_level parameter.
 *
 * @param array  $utm           UTM parameters.
 * @param array  $classes       Classes.
 * @param string $license_level License level.
 */
function wpforms_edu_get_upgrade_button( $utm, $classes = [], $license_level = '' ) {

	$utm_medium  = isset( $utm['medium'] ) ? $utm['medium'] : '';
	$utm_content = isset( $utm['content'] ) ? $utm['content'] : '';

	$default_classes   = [ 'wpforms-btn', 'wpforms-btn-lg', 'wpforms-btn-orange' ];
	$default_classes[] = ! wpforms()->is_pro() ? 'wpforms-upgrade-modal' : '';

	$btn_classes = array_merge( $default_classes, (array) $classes );

	$upgrade_button_label = esc_html__( 'Upgrade to WPForms Pro', 'wpforms-lite' );

	if ( ! empty( $license_level ) && is_string( $license_level ) ) {
		$upgrade_button_label = sprintf(
			/* translators: %s: License name. */
			esc_html__( 'Upgrade to WPForms %s', 'wpforms-lite' ),
			esc_html( ucfirst( $license_level ) )
		);
	}
	?>
	<a
		href="<?php echo esc_url( wpforms_admin_upgrade_link( $utm_medium, $utm_content ) ); ?>"
		target="_blank"
		rel="noopener noreferrer"
		class="<?php echo esc_attr( implode( ' ', array_filter( $btn_classes ) ) ); ?>">
		<?php echo esc_html( $upgrade_button_label ); ?>
	</a>
	<?php
}

Filemanager

Name Type Size Permission Actions
access.php File 10.83 KB 0775
builder.php File 1.38 KB 0775
checks.php File 15.8 KB 0775
colors.php File 3.97 KB 0775
data-presets.php File 19.13 KB 0775
date-time.php File 2.82 KB 0775
debug.php File 5.25 KB 0775
education.php File 2.89 KB 0775
escape-sanitize.php File 14.21 KB 0775
filesystem-media.php File 6.6 KB 0775
form-fields.php File 16.91 KB 0775
forms.php File 13.74 KB 0775
list.php File 6.88 KB 0775
payments.php File 21.76 KB 0775
plugins.php File 2.38 KB 0775
privacy.php File 2.52 KB 0775
providers.php File 1.99 KB 0775
utilities.php File 10.43 KB 0775
Filemanager