To prevent comments receiving add following line to your functions.php
file:
add_filter( 'comments_open', '__return_false' );
And to prevent trackbacks receiving just add this snippet:
add_filter( 'pings_open', '__return_false' );
To prevent comments receiving add following line to your functions.php
file:
add_filter( 'comments_open', '__return_false' );
And to prevent trackbacks receiving just add this snippet:
add_filter( 'pings_open', '__return_false' );