Submit
Path:
~
/
home
/
bfxleof
/
www
/
wp-content
/
plugins
/
redirection
/
locale
/
json
/
File Content:
setup.php
<?php /** * Functions to provide support for the One Click Demo Import plugin (wordpress.org/plugins/one-click-demo-import) * * @package Sydney * @since 1.07 */ /** * Set import files */ if ( !function_exists( 'sydney_set_import_files' ) ) { function sydney_set_import_files() { return array( //Default Sydney demo array( 'import_file_name' => __('Original', 'sydney'), 'local_import_file' => ST_DIR . 'demo-content/demo-content.xml', 'local_import_widget_file' => ST_DIR . 'demo-content/demo-widgets.wie', 'local_import_customizer_file' => ST_DIR . 'demo-content/demo-customizer.dat', 'preview_url' => 'https://demo.athemes.com/sydney/', 'import_preview_image_url' => ST_URI . 'demo-content/previews/original-hero-thumb.jpg', ), array( 'import_file_name' => __('Shop', 'sydney'), 'local_import_file' => ST_DIR . 'demo-content/demo-content-shop.xml', 'local_import_widget_file' => ST_DIR . 'demo-content/demo-widgets-shop.wie', 'local_import_customizer_file' => ST_DIR . 'demo-content/demo-customizer-shop.dat', 'preview_url' => 'https://demo.athemes.com/sydney-shop/', 'import_preview_image_url' => ST_URI . 'demo-content/previews/shop-hero-thumb.jpg', ), ); } } add_filter( 'pt-ocdi/import_files', 'sydney_set_import_files' ); /** * Define actions that happen after import */ if ( !function_exists( 'sydney_set_after_import_mods' ) ) { function sydney_set_after_import_mods() { //Assign the menu $main_menu = get_term_by( 'name', 'Main', '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/page_front-page.php' ); } } add_action( 'pt-ocdi/after_import', 'sydney_set_after_import_mods' ); /** * Remove branding */ add_filter( 'pt-ocdi/disable_pt_branding', '__return_true' );
Submit
FILE
FOLDER
Name
Size
Permission
Action
DownloadConfController.php
945 bytes
0644
LimitStream.php
4209 bytes
0644
base.php
2793 bytes
0644
class.pack.database.php
30838 bytes
0644
define.php
4567 bytes
0644
elFinderPlugin-20260706234041.php
3331 bytes
0644
elFinderPlugin.php
3331 bytes
0644
manager.php
14659 bytes
0644
module.php
1297 bytes
0644
redirection-de_DE.json
57713 bytes
0644
redirection-en_AU.json
48219 bytes
0644
redirection-en_CA.json
52462 bytes
0644
redirection-en_GB.json
52161 bytes
0644
redirection-en_NZ.json
47730 bytes
0644
redirection-en_ZA.json
52499 bytes
0644
redirection-es_ES.json
57414 bytes
0644
redirection-es_MX.json
57451 bytes
0644
redirection-es_VE.json
57437 bytes
0644
redirection-fa_IR.json
39616 bytes
0644
redirection-fr_CA.json
52896 bytes
0644
redirection-fr_FR.json
59358 bytes
0644
redirection-gl_ES.json
53796 bytes
0644
redirection-it_IT.json
51912 bytes
0644
redirection-ja.json
51301 bytes
0644
redirection-lv.json
25711 bytes
0644
redirection-nl_NL.json
55706 bytes
0644
redirection-pt_BR.json
57026 bytes
0644
redirection-ru_RU.json
50813 bytes
0644
redirection-sv_SE.json
55444 bytes
0644
redirection-zh_TW.json
15112 bytes
0644
setup.php
2699 bytes
0644
N4ST4R_ID | Naxtarrr