2013-08-01, 04:56:15
(2013-08-01, 03:51:07)mvlcek Wrote:(2013-08-01, 03:11:21)Angryboy Wrote:PHP Code:$results = return_i18n_search_results($tags="_special_".$args[0], $words=null, $first=0, $max=10, $order='+menuOrder', $lang=null);
Thank you very much for answering questions about my plugins, @Angryboy :-)
FYI: The function definitions on my web site are copied directly from the code and specify parameter names (and default values). When calling the functions, only the order of the parameters is relevant. Using $xxx= is not necessary and might even cause problems in your template, if you use a variable $xxx in your template.
Just call the function with:
PHP Code:$results = return_i18n_search_results("_special_".$args[0], null, 0, 10, '+menuOrder');
No problem. Just keeping being awesome.
(On the parameter point: understood; the variables were kept in there for clarity and laziness in order to save explaining what each individual parameter is)