Filter: wpbuddy/rich_snippets/model/schemas/get

apply_filters( 'wpbuddy/rich_snippets/model/schemas/get', $rich_snippets, $post_id ) → {Array.<Rich_Snippet>}

Structured Data filter. Allows to filter Structured Data from a given post ID.
Parameters:
Name Type Description
$rich_snippets Array.<Rich_Snippet> Array of Rich_Snippet objects.
$post_id int The post ID where the snippets are loaded from.
Since:
  • 2.0.0
Source:
Returns:
Array of Rich_Snippet objects.
Type
Array.<Rich_Snippet>

apply_filters( 'wpbuddy/rich_snippets/model/schemas/get', $rich_snippets, $post_id ) → {Array.<Rich_Snippet>}

Structured Data filter. Allows to filter Structured Data from a given post ID.
Parameters:
Name Type Description
$rich_snippets Array.<Rich_Snippet> Array of Rich_Snippet objects.
$post_id int The post ID where the snippets are loaded from.
Since:
  • 2.0.0
Source:
Returns:
Array of Rich_Snippet objects.
Type
Array.<Rich_Snippet>