wpseek.com
Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_get_entity_field_collection_fields › WordPress Function

Seit7.2.0
Veraltetn/v
› wp_get_entity_field_collection_fields ( $directory )
Parameter:
  • (string) $directory The directory of the collection.
    Erforderlich: Ja
Gibt zurück:
  • (array<string,array>) The fields of the collection, keyed by id, in
    the alphabetical order of their folders.
Definiert in:
Codex:

Returns the fields of a field collection, see {@see WP_Entity_Fields_Registry::get_collection_fields()}.



Quellcode

function wp_get_entity_field_collection_fields( $directory ) {
	return WP_Entity_Fields_Registry::get_instance()->get_collection_fields( $directory );
}