woocommerce_rest_query_vars

woocommerce_rest_query_vars

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: woocommerce.9.3.3

apply_filters('woocommerce_rest_query_vars') is found 1 times:

  • /includes/rest-api/Controllers/Version3/class-wc-rest-posts-controller.php line 608
    		 *
    		 *    @param string $allowed_query_var The query var to allow.
    		 * }
    		 */
    		$valid_vars = apply_filters( 'woocommerce_rest_query_vars', $valid_vars );
    
    		return $valid_vars;
    	}
    
    	/**
    	 * Get the query params for collections of attachments.