New project structure init

This commit is contained in:
Almira Krdzic
2018-07-30 08:54:41 +02:00
parent 63cce6100c
commit e91e2d8a93
2735 changed files with 1345 additions and 952660 deletions

View File

@@ -0,0 +1,14 @@
<?php
/*
Plugin Name: Disallow Indexing
Plugin URI: https://roots.io/bedrock/
Description: Disallow indexing of your site on non-production environments.
Version: 1.0.0
Author: Roots
Author URI: https://roots.io/
License: MIT License
*/
if (defined('WP_ENV') && WP_ENV !== 'production' && !is_admin()) {
add_action('pre_option_blog_public', '__return_zero');
}