Removing “Powered by” footer using child theme PHP [closed]

As the function sparkling_footer_info() uses esc_html__() and this function runs the esc_html filter before outputting, you can intercept the output there.

add_filter ('esc_html', 'wpse_245817_esc_html', 100, 2 );
function wpse_245817_esc_html( $safe_text, $text ) {
    if ( $safe_text == 'Theme by %1$s Powered by %2$s' ) {
        return '';
    }
    return $safe_text;
}

Maybe you have to adapt the code a little for your own needs, I didn’t test it either.