WordPress at Your Fingertips
function is not described

WC_Admin_Addons::build_parameter_string() public WC 1.0

Build url parameter string

{} It's a method of the class: WC_Admin_Addons{}

No Hooks.


String. url parameter string


$result = WC_Admin_Addons::build_parameter_string( $category, $term, $country );
$category(string) (required)
Addon (sub) category.
$term(string) (required)
Search terms.
$country(string) (required)
Store country.

Code of WC_Admin_Addons::build_parameter_string() WC 5.9.0

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

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

	return '?' . http_build_query( $parameters );