How to reveal hidden WooCommerce custom fields ? (2 posts)

  1. Pranjal Gupta
    Posted 3 years ago #


    I need to know on how to reveal the hidden WooCommerce custom fields in products post type. Actually, most of the products on my store are listed with external/affiliate links now some of those products on external sites are discontinued and leading to error 404 pages on their site. I can't remove those links from the admin panel, everytime I try to remove them, they re-appear again and again.

    I think, revealing those hidden woocommerce custom fields where data of all Woocommerce post types is saved would manually allow me to delete those external links.

    Someone, Please help me out!



  2. Pranjal Gupta
    Posted 3 years ago #

    Someone please tell me on how to reveal hidden woocoomerce field ?

    I had tried this code :

    add_action( 'admin_head', 'showhiddencustomfields' );

    function showhiddencustomfields() {
    echo "<style type='text/css'>#postcustom .hidden { display: table-row; }</style>\n";

    But, it didn't worked either :(

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • WooCommerce
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.