Populate_From_Query::query_args_exist( $args )

Check if query arguments exist in the GET array.


Parameters Parameters

$args

(Required)


Top ↑

Return Return

(bool)


Source Source

File: src/core/classes/class-populate-from-query.php

	protected static function query_args_exist( $args ) {

		foreach ( $args as $arg ) {

			if ( ! isset( $_GET[ $arg ] ) ) {

				return false;

			}
		}

		return true;
	}