Created by Michael Visser 2015-12-16 View revision File functions.php Added Side-by-side diff More Ignore whitespace Hide word diff +<?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' ); +?>