This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Prevent update notification for plugin - | |
* http://www.thecreativedev.com/disable-updates-for-specific-plugin-in-wordpress/ | |
* Add to the core plugin file | |
*/ | |
function disable_plugin_updates( $value ) { | |
if ( isset($value) && is_object($value) ) { | |
$plugin_file_name = basename(__DIR__) . '/' . basename(__FILE__); | |
if ( isset( $value->response[$plugin_file_name] ) ) { | |
unset( $value->response[$plugin_file_name] ); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/************************************************************************* | |
php easy :: whois lookup script | |
========================================================================== | |
Author: php easy code, www.phpeasycode.com | |
Web Site: http://www.phpeasycode.com | |
Contact: [email protected] | |
*************************************************************************/ | |
$domain = $_GET['domain']; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Append 'display_errors = false' to each PHP version's ini file | |
echo 'display_errors = false' | sudo tee --append /etc/php7.4-sp/php.ini && | |
echo 'display_errors = false' | sudo tee --append /etc/php8.0-sp/php.ini && | |
echo 'display_errors = false' | sudo tee --append /etc/php8.1-sp/php.ini && | |
echo 'display_errors = false' | sudo tee --append /etc/php8.2-sp/php.ini && | |
echo 'display_errors = false' | sudo tee --append /etc/php8.3-sp/php.ini && | |
echo 'display_errors = false' | sudo tee --append /etc/php8.4-sp/php.ini && | |
# Display the contents of each ini file to confirm the changes | |
cat /etc/php7.4-sp/php.ini && |