Filter: wpbuddy/rich_snippets/fields/related_subselect/values

apply_filters( 'wpbuddy/rich_snippets/fields/related_subselect/values', $values, $prop, $schema ) → {array}

'related' subselect values filter. This filter can be used to add additional options to the 'related' subfield select.
Parameters:
Name Type Description
array
$values array The return parameter: an array of values.
$prop Schema_Property The current property.
$schema string The current schema class.
Since:
  • 2.0.0 An array of values.
Source:
Returns:
Type
array

apply_filters( 'wpbuddy/rich_snippets/fields/related_subselect/values', $values, $prop, $schema ) → {array}

'related' subselect values filter. This filter can be used to add additional options to the 'related' subfield select.
Parameters:
Name Type Description
array
$values array The return parameter: an array of values.
$prop Schema_Property The current property.
$schema string The current schema class.
Since:
  • 2.0.0 An array of values.
Source:
Returns:
Type
array