Created
February 4, 2021 08:22
-
-
Save xlplugins/bfcfab5b057e1c0a0719b9dccce5d7df to your computer and use it in GitHub Desktop.
unset link on xl thank you page
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
add_filter ( 'woocommerce_order_item_permalink' , '__return_false' ); | |
add_action( 'woocommerce_account_downloads_column_download-product','xlwcty_remove_hyper_link_from_download_product'); | |
function xlwcty_remove_hyper_link_from_download_product($download) | |
{ | |
echo esc_html( $download['product_name'] ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment