Select Page

List of values for “Position of selected filters” option in plugin settings in SEO tab.

Parameters

  • $options – array with values where each element is an array with the following structure: array(“value” => “function_name”, “text” => “Visual name in the drop-down list”)

You can declare the “function_name” function in the function.php file of the topic or anywhere else where it will be publicly available.

Parameters of the “function_name” function

  • $filters – current generated text, usually an empty string
  • $text – initial text for the current section
  • $section – section name (header, title, description)
  • $terms_filtered – array of current filters