Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825

Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830

Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825
Populate_From_Query::query_args_exist( $args )

Check if query arguments exist in the GET array.


Warning: foreach() argument must be of type array|object, string given in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 830

Warning: Array to string conversion in /home/customer/www/docs.automatorplugin.com/public_html/wp-content/themes/wporg-developer/inc/template-tags.php on line 825

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;
	}