# gutenify/1.1.2/gutenify.php

Gutenify – Visual Site Builder Blocks &amp; Starter Templates, version 1.1.2. 53 lines.

- Page: https://pluginprobe.com/plugins/gutenify/1.1.2/code/gutenify.php
- Raw: https://pluginprobe.com/plugins/gutenify/1.1.2/raw/gutenify.php
- Modified: 2022-08-07T10:50:40+00:00

Line numbers below start at 1. Link to a line or a range by appending a fragment to the
page URL, for example `https://pluginprobe.com/plugins/gutenify/1.1.2/code/gutenify.php#L10-L20`.

```php
<?php
/**
 * Plugin Name: Gutenify - Gutenberg Fullsite Editing Template Kits - Advanced Blocks
 * Description: Gutenify is a World’s First True Gutenberg (Block) Template Kit pluigin that is compatible with WordPress Full Site Editing to help you create the website you always wanted. Gutenify is a free WordPress plugin which allows you to add different block effortlessly in your site.
 * Author: Gutenify
 * Author URI: https://www.gutenify.com
 * Version: 1.1.2
 * Text Domain: gutenify
 * Domain Path: /languages
 * Tested up to: 5.6
 *
 * Gutenify is free software: you can redistribute it and/or modify
 * it under the terms of the GNU General Public License as published by
 * the Free Software Foundation, either version 2 of the License, or
 * any later version.
 *
 * You should have received a copy of the GNU General Public License
 * along with Gutenify. If not, see <http://www.gnu.org/licenses/>.
 *
 * @package Gutenify
 */

// Exit if accessed directly.
if ( ! defined( 'ABSPATH' ) ) {
	exit;
}

// Define constants.
define( 'GUTENIFY_VERSION', '1.1.2' );
define( 'GUTENIFY_PLUGIN_DIR', plugin_dir_path( __FILE__ ) );
define( 'GUTENIFY_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
define( 'GUTENIFY_PLUGIN_FILE', __FILE__ );
define( 'GUTENIFY_PLUGIN_BASE', plugin_basename( __FILE__ ) );

function gutenify() {
	require 'inc/bootstrap.php';
}

gutenify();

function gutenify_activation_redirect( $plugin ) {
	$screen = get_current_screen();
	if ( ! empty( $screen->id ) && 'appearance_page_tgmpa-install-plugins' === $screen->id ) {
		return false;
	}

	if ( $plugin == plugin_basename( __FILE__ ) ) {
		wp_safe_redirect( admin_url( 'admin.php?page=gutenify' ) );
		exit;
	}
}
add_action( 'activated_plugin', 'gutenify_activation_redirect' );

```
