acf/schema/output_format_choices хук-фильтрACF 1.0

Filter the available output format choices.

Использование

add_filter( 'acf/schema/output_format_choices', 'wp_kama_acf_schema_output_format_choices_filter', 10, 3 );

/**
 * Function for `acf/schema/output_format_choices` filter-hook.
 * 
 * @param array  $choices    The output format choices.
 * @param string $field_type The ACF field type.
 * @param string $property   The selected Schema.org property.
 *
 * @return array
 */
function wp_kama_acf_schema_output_format_choices_filter( $choices, $field_type, $property ){

	// filter...
	return $choices;
}
$choices(массив)
The output format choices.
$field_type(строка)
The ACF field type.
$property(строка)
The selected Schema.org property.

Где вызывается хук

FieldSettings::get_output_format_choices()
acf/schema/output_format_choices
acf/src/AI/GEO/FieldSettings.php 362
return apply_filters( 'acf/schema/output_format_choices', $choices, $field_type, $property );

Где используется хук в Advanced Custom Fields PRO

Использование не найдено.