Upload::unsafe_value()

Description #

Get POST (unsafe) value of a field.

Source #

File: lib/form/class-upload.php

	public function unsafe_value() {
		$request_value = $this->get( $this->id( $this->field_name ), null, $_FILES ); // phpcs:ignore WordPress.Security.NonceVerification.Missing

		if ( $request_value ) {
			return $this->format_multiple_files( $request_value );
		}
	}

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Add your comment