Filter_Has_Injectable_Properties

Provides image support for filters.

Tags
author

Barn2 Plugins support@barn2.com

license

GPL-3.0

copyright

Barn2 Media Ltd

Table of Contents

inject_properties()  : array<string|int, mixed>
Inject properties into the possible choices.

Methods

inject_properties()

Inject properties into the possible choices.

public inject_properties(array<string|int, mixed> $possible_choices[, array<string|int, mixed> $context_post_ids = [] ]) : array<string|int, mixed>
Parameters
$possible_choices : array<string|int, mixed>

The possible choices.

$context_post_ids : array<string|int, mixed> = []

Optional. Array of post IDs from the current query context for contextual calculations.

Return values
array<string|int, mixed>

The possible choices with injected properties.

Search results