// We pass the table of counts in a pipeline so that the plugins can add (or remove) children $compte = pipeline('objet_compte_enfants', array( 'args' => array( 'objet' => 'rubrique', 'id_objet' => $id_rubrique, 'statut' => 'publie', 'date' => $date ), 'data' => $compte ) );