Sindbad~EG File Manager

Current Path : /home/copmadinaarea/www/wp-content__80fcb17/plugins/iwapppress/includes/
Upload File :
Current File : /home/copmadinaarea/www/wp-content__80fcb17/plugins/iwapppress/includes/iWappPress_customize.php

<?php
class iWappPress_customize extends iWappPress {
	public function __construct() {
		if ( ! isset( $_GET['iWappPress'] ) ){
			return;
		}
		
		if ( ! isset( $_GET['theme'] )) {
			add_action( 'admin_init', array( $this, 'return_url' ) );
		}
		add_filter( 'clean_url', array( $this, 'iWapp_back_button_url' ) );		
	}
	public function return_url() {
		iWapp_redirect( esc_url(add_query_arg( 'page', 'iWappPresstheme',  admin_url( 'admin.php' ) ) ) );
	}
	public function iWapp_back_button_url( $changeUrl ) {
		if ( $changeUrl == admin_url( 'themes.php' ) ) {
			return  esc_url(add_query_arg( 'page', 'iWappPresstheme', admin_url( 'admin.php' )) );
		}
		return $changeUrl;
	}
}		

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