Sindbad~EG File Manager

Current Path : /home/admin/ricard.blog.lppelm.o2switch.site/wp-content/plugins/gutenify/inc/
Upload File :
Current File : /home/admin/ricard.blog.lppelm.o2switch.site/wp-content/plugins/gutenify/inc/demo-importer.php

<?php
function gutenify_after_content_import_setup() {
	// Set static homepage.
	$homepage = get_page_by_title( apply_filters( 'gutenify_content_home_page_title', 'Home' ) );

	if ( $homepage ) {
		update_option( 'page_on_front', $homepage->ID );
		update_option( 'show_on_front', 'page' );
	}

	// Set static blog page.
	$blogpage = get_page_by_title( apply_filters( 'gutenify_content_blog_page_title', 'Blog' ) );

	if ( $blogpage ) {
		update_option( 'page_for_posts', $blogpage->ID );
		update_option( 'show_on_front', 'page' );
	}
}
add_action( 'import_end', 'gutenify_after_content_import_setup' );

Sindbad File Manager Version 1.0, Coded By Sindbad EG ~ The Terrorists