packages/kirki-framework/core/src/Init.php
private function fields_from_filters() {
		$fields = apply_filters( 'kirki_controls', [] );
		$fields = apply_filters( 'kirki_fields', $fields );

		if ( ! empty( $fields ) ) {
			foreach ( $fields as $field ) {
				$field['kirki_config'] = 'global';
				Kirki::add_field( $field );
			}
		}
	}
private function fields_from_filters() {
		$fields = apply_filters( 'kirki_controls', [] );
		$fields = apply_filters( 'kirki_fields', $fields );

		if ( ! empty( $fields ) ) {
			foreach ( $fields as $field ) {
				$field['kirki_config'] = 'global';
				Kirki::add_field( $field );
			}
		}
	}
private function fields_from_filters ( ) { $ fields = apply_filters ( 'kirki_controls' , [ ] ) ; $ fields = apply_filters ( 'kirki_fields' , $ fields ) ; if ( ! empty ( $ fields ) ) { foreach ( $ fields as $ field ) { $ field [ 'kirki_config' ] = 'global' ; Kirki :: add_field ( $ field ) ; } } }
Process fields added using the 'kirki_fields' and 'kirki_controls' filter.
These filters are no longer used, this is simply for backwards-compatibility.

@access private
@since 2.0.0
Process fields added using the kirki_fields and kirki_controls filter . These filters are no longer used this is simply for backwards - compatibility .