initial commit

This commit is contained in:
2020-09-12 17:13:16 +02:00
commit c16a9d449b
96 changed files with 39990 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
<?php
/**
* Plugin Name: Disallow Indexing
* Plugin URI: https://github.com/roots/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');
}