This file contains 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
https://docs.plesk.com/en-US/onyx/customer-guide/wordpress-toolkit.79128/#updating-wordpress-instances | |
https://docs.plesk.com/en-US/onyx/customer-guide/wordpress-toolkit.79128/#securing-wordpress | |
https://docs.plesk.com/en-US/onyx/customer-guide/wordpress-toolkit.79128/#smart-updates | |
https://docs.plesk.com/en-US/onyx/customer-guide/wordpress-toolkit.79128/#managing-plugins | |
https://docs.plesk.com/en-US/onyx/customer-guide/wordpress-toolkit.79128/#managing-themes | |
https://docs.plesk.com/en-US/onyx/customer-guide/wordpress-toolkit.79128/#synchronization-of-wordpress-sites |
This file contains 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
https://support.cpanel.net/hc/en-us/articles/360052624713-How-to-change-the-PHP-version-for-a-domain-in-cPanel-or-WHM | |
https://docs.cpanel.net/cpanel/software/multiphp-manager-for-cpanel/ |
This file contains 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
add_filter( 'woocommerce_shipping_chosen_method', '__return_false', 99); |
This file contains 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
function asdds_disable_default_runner() { | |
if ( class_exists( 'ActionScheduler' ) ) { | |
remove_action( 'action_scheduler_run_queue', array( ActionScheduler::runner(), 'run' ) ); | |
} | |
} | |
// ActionScheduler_QueueRunner::init() is attached to 'init' with priority 1, so we need to run after that | |
add_action( 'init', 'asdds_disable_default_runner', 10 ); |
This file contains 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
wp itsec modules disable two-factor | |
wp itsec modules enable two-factor |
This file contains 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
https://docs.cpanel.net/knowledge-base/cpanel-developed-plugins/wordpress-toolkit-command-line-interface/ |
This file contains 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
systemctl status wp-toolkit-scheduled-tasks | |
su wp-toolkit --shell=/bin/bash -c '/usr/bin/sw-engine -d auto_prepend_file=/usr/local/cpanel/3rdparty/wp-toolkit/scripts/scheduled-task-prepend-file.php /usr/local/cpanel/3rdparty/wp-toolkit/plib/scripts/instances-auto-update.php' |
This file contains 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
hostnamectl | |
rpm --eval '%{centos_ver}' |
This file contains 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
add_filter( ‘woocommerce_persistent_cart_enabled’, ‘__return_false’ ); |
This file contains 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
add_filter('wpo_option_key_page_cache_length', 'my_prefix_page_cache_length'); | |
function my_prefix_page_cache_length() { | |
return 60 * 30; | |
} |