private static function _get_fields() {
		if ( ! class_exists( 'Kucrut_Form_Field' ) ) {
			require_once Menu_Icons::get( 'dir' ) . 'includes/library/form-fields.php';
		}

		$keys     = array( 'menu-icons', 'settings' );
		$sections = self::get_fields();

		foreach ( $sections as &$section ) {
			$_keys = array_merge( $keys, array( $section['id'] ) );
			$_args = array_merge( array( 'keys' => $_keys ), $section['args'] );

			foreach ( $section['fields'] as &$field ) {
				$field = Kucrut_Form_Field::create( $field, $_args );
			}

			unset( $field );
		}

		unset( $section );

		return $sections;
	}
private static function _get_fields() {
		if ( ! class_exists( 'Kucrut_Form_Field' ) ) {
			require_once Menu_Icons::get( 'dir' ) . 'includes/library/form-fields.php';
		}

		$keys     = array( 'menu-icons', 'settings' );
		$sections = self::get_fields();

		foreach ( $sections as &$section ) {
			$_keys = array_merge( $keys, array( $section['id'] ) );
			$_args = array_merge( array( 'keys' => $_keys ), $section['args'] );

			foreach ( $section['fields'] as &$field ) {
				$field = Kucrut_Form_Field::create( $field, $_args );
			}

			unset( $field );
		}

		unset( $section );

		return $sections;
	}
private static function _get_fields ( ) { if ( ! class_exists ( 'Kucrut_Form_Field' ) ) { require_once Menu_Icons :: get ( 'dir' ) . 'includes/library/form-fields.php' ; } $ keys = array ( 'menu-icons' , 'settings' ) ; $ sections = self :: get_fields ( ) ; foreach ( $ sections as & $ section ) { $ _keys = array_merge ( $ keys , array ( $ section [ 'id' ] ) ) ; $ _args = array_merge ( array ( 'keys' => $ _keys ) , $ section [ 'args' ] ) ; foreach ( $ section [ 'fields' ] as & $ field ) { $ field = Kucrut_Form_Field :: create ( $ field , $ _args ) ; } unset ( $ field ) ; } unset ( $ section ) ; return $ sections ; }
Get processed settings fields

@since  0.3.0
@access private
@return array
Get processed settings fields