Home / Admin / Recent products table
Duplicate Snippet

Embed Snippet on Your Site

Recent products table

Code Preview
php
<?php
if ( ! function_exists( 'wcv_remove_recent_product_table_columns' ) ) {
	/**
	 * Remove columns from Recent Products table in Pro Dashboard
	 *
	 * @param  array $columns Columns of table.
	 * @return array
	 */
	function wcv_remove_recent_product_table_columns( $columns ) {
        //Remove Status column
		unset( $columns['status'] );
		return $columns;
	}
	add_filter( 'wcvendors_recent_product_table_columns', 'wcv_remove_recent_product_table_columns', 10, 1 );
}

Comments

Add a Comment