acf/schema/schema_properties filter-hookACF 1.0

Filter the available Schema.org properties.

Allows developers to add custom Schema.org properties or modify existing ones.

Usage

add_filter( 'acf/schema/schema_properties', 'wp_kama_acf_schema_properties_filter', 10, 2 );

/**
 * Function for `acf/schema/schema_properties` filter-hook.
 * 
 * @param array  $properties The Schema.org role mappings grouped by type.
 * @param string $field_type The ACF field type being configured.
 *
 * @return array
 */
function wp_kama_acf_schema_properties_filter( $properties, $field_type ){
	// filter...
	return $properties;
}
$properties(array)
The Schema.org role mappings grouped by type.
$field_type(string)
The ACF field type being configured.

Where the hook is called

FieldSettings::get_schema_properties()
acf/schema/schema_properties
acf/src/AI/GEO/FieldSettings.php 278
$roles = apply_filters( 'acf/schema/schema_properties', $roles, $field_type );

Where the hook is used in Advanced Custom Fields PRO

Usage not found.