Skip to content

Instantly share code, notes, and snippets.

:shipit:

Radi Varbanov rvarbanov

:shipit:
Block or report user

Report or block rvarbanov

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View hide-author-usernames.php
add_action('template_redirect', 'bwp_template_redirect');
function bwp_template_redirect() {
if (is_author()) {
wp_redirect( home_url() );
exit;
}
}
View block-ip-address.php
order allow,deny
deny from 456.123.8.9
allow from all
View restrict-wp-login-access.php
<Files wp-login.php>
order deny,allow
Deny from all
# allow access from my IP address
allow from 192.168.5.1
</Files>
View restrict-admin-access.php
order deny,allow
allow from 192.168.5.1
deny from all
View hide-wp-config.php
<files wp-config.php>
order allow,deny
deny from all
</files>
View stop-php-error-reports.php
error_reporting(0);
@ini_set('display_errors', 0);
View auto-theme-updates.php
add_filter('auto_update_theme', '__return_true');
View auto-plugin-updates.php
add_filter('auto_update_plugin', '__return_true');
You can’t perform that action at this time.