Uname:Linux webm009.cluster131.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64

403WebShell
403Webshell
Server IP : 146.59.209.152  /  Your IP : 216.73.216.25
Web Server : Apache
System : Linux webm009.cluster131.gra.hosting.ovh.net 6.18.42-ovh-vps-grsec-zfs+ #1 SMP PREEMPT_DYNAMIC Wed Aug 5 15:59:48 CEST 2026 x86_64
User : monpetu ( 144298)
PHP Version : 7.4.33
Disable Function : _dyuweyrj4,_dyuweyrj4r,dl
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : ON  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /home/monpetu/www/benneplus/wp-content/themes/airi/inc/demo-content/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /home/monpetu/www/benneplus/wp-content/themes/airi/inc/demo-content/setup.php
<?php
/**
 * Functions to provide support for the One Click Demo Import plugin (wordpress.org/plugins/one-click-demo-import)
 *
 * @package Airi
 */


/**
 * Set import files
 */
function airi_set_import_files() {
    return array(

        array(
            'import_file_name'           => 'Agency',
            'import_file_url'            => 'https://athemes.com/wp-content/uploads/demo-content/airi/airi-dc-agency.xml',
            'import_widget_file_url'     => 'https://athemes.com/wp-content/uploads/demo-content/airi/airi-w-agency.wie',
            'import_customizer_file_url' => 'https://athemes.com/wp-content/uploads/demo-content/airi/airi-c-agency.dat',
            'import_preview_image_url'   => 'https://athemes.com/wp-content/uploads/agency-hero-thumb.png',
            'preview_url'                => 'https://demo.athemes.com/airi-agency',
        ),
        array(
            'import_file_name'           => 'Startup',
            'import_file_url'            => 'https://athemes.com/wp-content/uploads/demo-content/airi/airi-dc-startup.xml',
            'import_widget_file_url'     => 'https://athemes.com/wp-content/uploads/demo-content/airi/airi-w-startup.wie',
            'import_customizer_file_url' => 'https://athemes.com/wp-content/uploads/demo-content/airi/airi-c-startup.dat',
            'import_preview_image_url'   => 'https://athemes.com/wp-content/uploads/startup-hero-thumb.png',
            'preview_url'                => 'https://demo.athemes.com/airi-startup',
        ),
        array(
            'import_file_name'           => 'Health coach',
            'import_file_url'            => 'https://athemes.com/wp-content/uploads/demo-content/airi/airi-dc-health.xml',
            'import_widget_file_url'     => 'https://athemes.com/wp-content/uploads/demo-content/airi/airi-w-health.wie',
            'import_customizer_file_url' => 'https://athemes.com/wp-content/uploads/demo-content/airi/airi-c-health.dat',
            'import_preview_image_url'   => 'https://athemes.com/wp-content/uploads/health-hero-demo.png',
            'import_notice'              => __( 'Please install the LearnPress plugin before importing this demo', 'airi' ),
            'preview_url'                => 'https://demo.athemes.com/airi-health-coach',
        ),
    );
}
add_filter( 'pt-ocdi/import_files', 'airi_set_import_files' );

/**
 * Define actions that happen after import
 */
function airi_set_after_import_mods() {

	//Assign the menu
    $main_menu = get_term_by( 'name', 'Menu', 'nav_menu' );
    set_theme_mod( 'nav_menu_locations', array(
            'primary' => $main_menu->term_id,
        )
    );

    //Asign the static front page and the blog page
    $front_page = get_page_by_title( 'Home' );
    $blog_page  = get_page_by_title( 'Blog' );

    update_option( 'show_on_front', 'page' );
    update_option( 'page_on_front', $front_page -> ID );
    update_option( 'page_for_posts', $blog_page -> ID );

    //Assign the Front Page template
    update_post_meta( $front_page -> ID, '_wp_page_template', 'page-templates/template_page-builder.php' );

}
add_action( 'pt-ocdi/after_import', 'airi_set_after_import_mods' );

/**
* Remove branding
*/
add_filter( 'pt-ocdi/disable_pt_branding', '__return_true' );

Youez - 2016 - github.com/yon3zu
LinuXploit