Merge pull request #367 from lukecarbis/patch-1

Added a hook for custom settings field types.
This commit is contained in:
Mike Jolley 2011-12-14 04:18:40 -08:00
commit 33cb9caca2
1 changed files with 3 additions and 0 deletions

View File

@ -478,6 +478,9 @@ function woocommerce_admin_fields($options) {
</tr>
<?php
break;
default:
do_action( 'woocommerce_admin_field_'.$value['type'], $value );
break;
endswitch;
endforeach;
}