Websites

Global disable multi-site pingbacks and comments

The following code will disable comments and pingbacks in a WordPress. add_filter( 'pings_open', '__return_false', 10, 2 ); add_filter( 'comments_open', '__return_false', 10, 2 ); To disable for all multi-site websites, you…