apply_filters( 'wpbuddy/rich_snippets/fields/descendants_subselect/options', $var, $prop, $schema, $selected ) → {array}
Descendants values.
This filter can be used to add additional options to the 'direct descendants' subselect.
Parameters:
Name | Type | Description |
---|---|---|
$var |
array | The return parameter: an array of options. |
$prop |
Schema_Property | The current property. |
$schema |
string | The current schema class. |
$selected |
string | The current selected item. |
- Since:
- 2.0.0
- Source:
Returns:
The array of options.
- Type
- array