woocommerce_admin_fields() – Output admin fields.

You appear to be a bot. Output may be restricted

Description

Output admin fields.

Loops through the woocommerce options array and outputs each field.

Usage

woocommerce_admin_fields( $options );

Parameters

$options
( array ) required – Opens array to output.

Returns

void

Source

File name: woocommerce/includes/admin/wc-admin-functions.php
Lines:

1 to 8 of 8
function woocommerce_admin_fields( $options ) {

  if ( ! class_exists( 'WC_Admin_Settings', false ) ) {
    include dirname( __FILE__ ) . '/class-wc-admin-settings.php';
  }

  WC_Admin_Settings::output_fields( $options );
}
 

 View on GitHub View on Trac