HEX
Server: Apache
System: Linux webd004.cluster130.gra.hosting.ovh.net 5.15.206-ovh-vps-grsec-zfs-classid #1 SMP Fri May 15 02:41:25 UTC 2026 x86_64
User: frenchy (106757)
PHP: 7.4.33
Disabled: _dyuweyrj4,_dyuweyrj4r,dl
Upload Files
File: /home/frenchy/www/french-american.org/repo/app/functions/acf-fields/block-equipe.fields.php
<?php
if (function_exists('acf_add_local_field_group')) :

  acf_add_local_field_group(array(
    'key' => 'blockEquipeFields',
    'title' => '[ACF BLOCK] Équipe',
    'fields' => array(
      array(
        'key' => 'titre_equipe_key',
        'label' => 'Titre de l\'équipe',
        'name' => 'titre_equipe',
        'type' => 'text',
        'placeholder' => 'Ex : Comité exécutif, Young leaders...'
      ),
      array(
        'key' => 'description_equipe_key',
        'label' => 'Description de l\'équipe (facultatif)',
        'name' => 'description_equipe',
        'type' => 'text'
      ),
      array(
        'key' => 'choix_equipe_key',
        'label' => 'Choix de l\'équipe',
        'name' => 'choix_equipe',
        'type' => 'taxonomy',
        'taxonomy' => 'equipes',
        'field_type' => 'select'
      ),
    ),
    'location' => array(
      array(
        array(
          'param' => 'block',
          'operator' => '==',
          'value' => 'acf/equipe',
        ),
      ),
    )
  ));

endif;