Sid Gifari File Manager
🏠 Root
/
home
/
ailwtbdh
/
public_html
/
wp-content
/
themes
/
profund
/
inc
/
Editing: importer.php
<?php function profund_backups_demos( $demos ) { $demo_content_installer = 'http://quomodosoft.com/wp/profund/content'; $demos_array = array( 'home_1' => array( 'title' => esc_html__( 'Home 1', 'profund' ), 'screenshot' => esc_url( $demo_content_installer ) . '/home_1.jpg', 'preview_link' => esc_url( 'http://quomodosoft.com/wp/profund' ), ), 'home_2' => array( 'title' => esc_html__( 'Home 2', 'profund' ), 'screenshot' => esc_url( $demo_content_installer ) . '/home_2.jpg', 'preview_link' => esc_url( 'http://quomodosoft.com/wp/profund/home-2' ), ), 'home_3' => array( 'title' => esc_html__( 'Home 3', 'profund' ), 'screenshot' => esc_url( $demo_content_installer ) . '/home_3.jpg', 'preview_link' => esc_url( 'http://quomodosoft.com/wp/profund/home-3' ), ), 'home_4' => array( 'title' => esc_html__( 'Home 4', 'profund' ), 'screenshot' => esc_url( $demo_content_installer ) . '/home_4.jpg', 'preview_link' => esc_url( 'http://quomodosoft.com/wp/profund/home-4' ), ), 'home_5' => array( 'title' => esc_html__( 'Home 5', 'profund' ), 'screenshot' => esc_url( $demo_content_installer ) . '/home_5.jpg', 'preview_link' => esc_url( 'http://quomodosoft.com/wp/profund/home-5' ), ), 'home_6' => array( 'title' => esc_html__( 'Home 6', 'profund' ), 'screenshot' => esc_url( $demo_content_installer ) . '/home_6.jpg', 'preview_link' => esc_url( 'http://quomodosoft.com/wp/profund/home-6' ), ), 'home_7' => array( 'title' => esc_html__( 'Home 7', 'profund' ), 'screenshot' => esc_url( $demo_content_installer ) . '/home_7.jpg', 'preview_link' => esc_url( 'http://quomodosoft.com/wp/profund/home-7' ), ), 'home_8' => array( 'title' => esc_html__( 'Home 8', 'profund' ), 'screenshot' => esc_url( $demo_content_installer ) . '/home_8.jpg', 'preview_link' => esc_url( 'http://quomodosoft.com/wp/profund/home-8' ), ), 'home_9' => array( 'title' => esc_html__( 'Home 9', 'profund' ), 'screenshot' => esc_url( $demo_content_installer ) . '/home_9.png', 'preview_link' => esc_url( 'http://quomodosoft.com/wp/profund/home-9' ), ), ); $download_url = esc_url( $demo_content_installer ) . '/download.php'; foreach ( $demos_array as $id => $data ) { $demo = new FW_Ext_Backups_Demo( $id, 'piecemeal', array( 'url' => $download_url, 'file_id' => $id, ) ); $demo->set_title( $data[ 'title' ] ); $demo->set_screenshot( $data[ 'screenshot' ] ); $demo->set_preview_link( $data[ 'preview_link' ] ); $demos[ $demo->get_id() ] = $demo; unset( $demo ); } return $demos; } add_filter( 'fw:ext:backups-demo:demos', 'profund_backups_demos' );
Save
Cancel