Snippets

Visser Labs Exporting custom meta

Created by Michael Visser
<?php
function custom_woo_ce_extend_product_fields( $fields ) {
$fields[] = array(
'name' => 'my_custom_field',
'label' => __( 'My Custom Field', 'woo_ce' )
);
return $fields;
}
add_filters( 'woo_ce_product_fields', 'custom_woo_ce_extend_product_fields' );
?>

Comments (0)