Remove action added through function

Found the answer here: http://code.tutsplus.com/tutorials/a-guide-to-overriding-parent-theme-functions-in-your-child-theme–cms-22623

<?php
function child_remove_parent_function() {
    remove_action( 'woocommerce_before_main_content', 'mod_output_content_wrapper', 10 );
}
add_action( 'wp_loaded', 'child_remove_parent_function' );
?>

Explanation is in the link.