Skip to content

Instantly share code, notes, and snippets.


Radi Varbanov rvarbanov

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() );
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
View restrict-admin-access.php
order deny,allow
allow from
deny from all
View hide-wp-config.php
<files wp-config.php>
order allow,deny
deny from all
View stop-php-error-reports.php
@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.