PHP

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…

What does the @ symbol do in PHP?

If you've noticed an @ symbol in some PHP code - you're likely wondering exactly what it does. The @ symbol in PHP is an "error control operator" - which…