Tribe__Tickets_Plus__Commerce__WooCommerce__Main::woocommerce_meta_box_inside()
Contents for the metabox in the WooCommerce product edit screen with a link back to the product related Event.
Source
File: src/Tribe/Commerce/WooCommerce/Main.php
public function woocommerce_meta_box_inside() {
$post_id = get_post_meta( get_the_ID(), $this->event_key, true );
if ( ! empty( $post_id ) ) {
echo sprintf( '%s <a href="%s">%s</a>', esc_html__( 'This is a ticket for the event:', 'event-tickets-plus' ), esc_url( get_edit_post_link( $post_id ) ),
esc_html( get_the_title( $post_id ) ) );
}
}