WC_Admin_Addons::build_parameter_string( string $category, string $term, string $country )

Build url parameter string


Description Description


Parameters Parameters

$category

(Required) Addon (sub) category.

$term

(Required) Search terms.

$country

(Required) Store country.


Top ↑

Return Return

(string) url parameter string


Top ↑

Source Source

File: includes/admin/class-wc-admin-addons.php

	public static function build_parameter_string( $category, $term, $country ) {

		$parameters = array(
			'category' => $category,
			'term'     => $term,
			'country'  => $country,
		);

		return '?' . http_build_query( $parameters );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.