Advertisement:

Author Topic: [SOLVED] Retrieve the value of the custom fields in search-sidebar  (Read 497 times)

vinz

  • Newbie
  • *
  • Posts: 6
Hi, sorry but I do not speak English well, but I hope to make myself understood.
I need to retrieve the value of the search fields.
I tried with:

echo osc_get_param ('meta12');
echo osc_get_param ('meta [12]');
echo __get ('meta12');
echo __get ('meta [12]');

but it does not work in any way.
Do you have any idea?
Thank you very much, Vincenzo
« Last Edit: October 08, 2015, 10:34:54 am by vinz »

vinz

  • Newbie
  • *
  • Posts: 6
Re: Retrieve the value of the custom fields in search-sidebar
« Reply #1 on: October 08, 2015, 10:34:03 am »
I solved:

Code: [Select]
$metaSearchValue = osc_get_param('meta');
echo $metaSearchValue['12'];

thanks anyway