Merge pull request #367 from lukecarbis/patch-1
Added a hook for custom settings field types.
This commit is contained in:
commit
33cb9caca2
|
@ -478,6 +478,9 @@ function woocommerce_admin_fields($options) {
|
|||
</tr>
|
||||
<?php
|
||||
break;
|
||||
default:
|
||||
do_action( 'woocommerce_admin_field_'.$value['type'], $value );
|
||||
break;
|
||||
endswitch;
|
||||
endforeach;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue