<span class="resolved" aria-label="Resolved" title="Topic is resolved."></span>Action manage_posts_custom_column

[ad_1]

Replies: 4

I see a column already exists called “product_tag” and I can add my content there however… I’d like to remove the existing content… can’t figure out how to do it if not by using CSS and display:none…

Anyone know how to remove the current content of a custom column and then add the new content?

add_action( 'manage_product_posts_custom_column', 'woo_prod_columns_value', 0, 10);
function woo_prod_columns_value($column_name, $id){}

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer