function filter_media_comment_status( $open, $post_id ) { $post = get_post( $post_id ); if( $post->post_type == 'attachment' ) { return false; } return $open; } add_filter( 'comments_open', 'filter_media_comment_status', 10 , 2 );
Nienke Poortvliet
Owner Keen Pepper
"Martine is a visionary. She has the ability to think big; she envisions the necessary changes to bring about lasting social and environmental change. Martine is truly passionate about what she does, she is dedicated, result-driven, persistent and an effective trouble shooter. In addition she is just a fun person to be with. I’m delighted to partner with her in Africa."