403Webshell
Server IP : 104.21.93.192  /  Your IP : 216.73.216.73
Web Server : LiteSpeed
System : Linux premium900.web-hosting.com 4.18.0-553.22.1.lve.1.el8.x86_64 #1 SMP Tue Oct 8 15:52:54 UTC 2024 x86_64
User : redwjova ( 1790)
PHP Version : 8.1.32
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : ON |  Perl : ON |  Python : ON |  Sudo : OFF |  Pkexec : OFF
Directory :  /home/redwjova/sort.llc/wp-content/plugins/ultimate-post/addons/beaver_builder/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : /home/redwjova/sort.llc/wp-content/plugins/ultimate-post/addons/beaver_builder/beaverbuilder.php
<?php
class PostXBeaverTemplate extends FLBuilderModule {

	public function __construct() {
		parent::__construct(array(
			'name'            => __( 'PostX Template', 'ultimate-post' ),
			'description'     => __( 'An basic example module using jQuery TwentyTwenty.', 'fl-builder' ),
			'category'        => __( 'Basic', 'ultimate-post' ),
			'dir'             => __DIR__,
			'partial_refresh' => true,
			'url'             => plugins_url( '', __FILE__ )
		));
	}
}


FLBuilder::register_module( 'PostXBeaverTemplate', array(
	'general' => array(
		'title' => __( 'General', 'ultimate-post' ),
		'sections' => array(
			'general' => array(
				'title' => __( 'Template Settings', 'ultimate-post' ),
				'fields' => array(
					'template' => array(
						'type'          => 'select',
						'label'         => __( 'Select Your Template', 'ultimate-post' ),
						'default'       => '',
						'options'       => ultimate_post()->get_all_lists('ultp_templates'),
						'multi-select'  => false
					),
					'edit_template' => array(
						'type'    => 'raw',
						'label'   =>  __( 'Edit Template', 'ultimate-post' ),
						'content' => '<a href="'.admin_url('admin.php?page=ultp-settings#saved-templates').'" style="color:#fff; background-color:#0c0d0e; padding:10px 20px; border-radius:4px; display:inline-block;" target="_blank"><span style="color:#fff; font-size:12px; width:12px; height:12px;" class="dashicons dashicons-edit"></span> '.__('Edit This Template', 'ultimate-post').'</a>'
					),
					'add_new_template' => array(
						'type'    => 'raw',
						'label'   => 'Add New Template',
						'content' => '<a href="'.admin_url('post-new.php?post_type=ultp_templates').'" style="color:#fff; background-color:#0c0d0e; padding:10px 20px; border-radius:4px; display:inline-block;" target="_blank"><span style="color:#fff; font-size:12px; width:12px; height:12px;" class="dashicons dashicons-plus-alt2"></span> '.__('Add New Template', 'ultimate-post').'</a>'
					)
				)
			)
		)
	)
));

Youez - 2016 - github.com/yon3zu
LinuXploit