Skip to content

Instantly share code, notes, and snippets.

View elisonsilva's full-sized avatar
🕓
I may be slow to respond.

Welison Silva elisonsilva

🕓
I may be slow to respond.
View GitHub Profile
@elisonsilva
elisonsilva / wp-disable-plugin-update.php
Created June 23, 2021 13:39 — forked from ebetancourt/wp-disable-plugin-update.php
WordPress - Disable specific plugin update check
<?php
// have to add that opening tag to get syntax highlighting... ¯\_(ツ)_/¯
/**
* Prevent update notification for plugin
* http://www.thecreativedev.com/disable-updates-for-specific-plugin-in-wordpress/
* Place in theme functions.php or at bottom of wp-config.php
*/
function disable_plugin_updates( $value ) {
{"lastUpload":"2020-06-16T01:12:09.545Z","extensionVersion":"v3.4.3"}
@elisonsilva
elisonsilva / .htaccess
Created July 19, 2019 20:16 — forked from Zodiac1978/.htaccess
Safer WordPress with these .htaccess additions
# Don't show errors which contain full path diclosure (FPD)
# Use that line only if PHP is installed as a module and not per CGI
# try using a php.ini in that case.
# Change mod_php5.c to mod_php7.c if you are running PHP7
<IfModule mod_php5.c>
php_flag display_errors Off
</IfModule>
# Don't list directories
<IfModule mod_autoindex.c>