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 | |
// Add the following code snippet to the PHP section of the MainWP Custom Dashboard Extension, | |
// or the functions.php file of the active theme on your Dashboard site. | |
add_filter( 'mainwp_updatescheck_disable_sendmail', 'mycustom_mainwp_updatescheck_disable_sendmail', 10, 1 ); | |
function mycustom_mainwp_updatescheck_disable_sendmail( $input ) { | |
return true; | |
} |
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 | |
// Add the following code snippet to the functions.php file of the MainWP Customisations plugin | |
// Download MainWP Customisations here: https://github.com/mainwp/mainwp-customisations | |
// More about the plugin: https://mainwp.com/mainwp-customisations/ | |
// WP Version example | |
add_filter( 'mainwp-sitestable-getcolumns', 'mycustom_sites_table_column', 10 ); | |
add_filter( 'mainwp-sitestable-item', 'mycustom_sitestable_item', 10 ); |
NewerOlder