Field::isset_value()

Description #

Check if request value is set.

Source #

File: lib/form/class-field.php

	public function isset_value() {
		$request_value = $this->get( ap_to_dot_notation( $this->field_name ), null, $_REQUEST ); // phpcs:ignore WordPress.Security.NonceVerification.Recommended

		if ( is_null( $request_value ) ) {
			return false;
		}

		return true;
	}

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