This code is used to retrieve and display the external product URL associated with the post. The code uses the WordPress function “get_post_meta” to retrieve the URL stored in the “_wc_external_url” meta field, and then echoes it if it is not empty.
Was this code snippet helpful?
YesNo