{"id":133429,"date":"2022-08-25T05:15:51","date_gmt":"2022-08-25T11:15:51","guid":{"rendered":"https:\/\/help.fooevents.com\/docs\/topics\/code-snippets\/fooevent-bookings-timestamp-updater\/"},"modified":"2022-10-25T17:36:07","modified_gmt":"2022-10-25T23:36:07","slug":"mise-a-jour-de-lhorodatage-des-reservations-de-fooevents","status":"publish","type":"docs","link":"https:\/\/help.fooevents.com\/fr\/docs\/topics\/code-snippets\/fooevents-bookings-timestamp-updater\/","title":{"rendered":"FooEvents Bookings Timestamp Updater (mise \u00e0 jour de l'horodatage des r\u00e9servations)"},"content":{"rendered":"<p>Les billets qui ont \u00e9t\u00e9 cr\u00e9\u00e9s apr\u00e8s le <a href=\"https:\/\/www.fooevents.com\/products\/fooevents-bookings\/\" target=\"_blank\" rel=\"noopener\">FooEvents Plugin de r\u00e9servation<\/a> a \u00e9t\u00e9 mis \u00e0 jour pour devenir <strong>version 1.4.0<\/strong> inclure un champ personnalis\u00e9 appel\u00e9 '<strong>WooCommerceEventsBookingDateTimestamp<\/strong>'. Seuls les tickets comprenant ce champ personnalis\u00e9 peuvent \u00eatre filtr\u00e9s au niveau de la date \u00e0 l'aide de l'\u00e9cran de gestion des r\u00e9servations de FooEvents (Aller \u00e0 <strong>FooEvents<\/strong> &gt; <strong>R\u00e9servations<\/strong>).<\/p>\n<p><img decoding=\"async\" class=\"alignnone size-full wp-image-133431\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/Screenshot-2022-08-25-at-13.23.08.png\" alt=\"\" width=\"677\" height=\"50\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/Screenshot-2022-08-25-at-13.23.08.png 677w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/Screenshot-2022-08-25-at-13.23.08-300x22.png 300w\" sizes=\"(max-width: 677px) 100vw, 677px\" \/><\/p>\n<p>Afin de filtrer les anciens tickets par date de r\u00e9servation, vous devez ex\u00e9cuter un script qui ajoute les champs personnalis\u00e9s pertinents \u00e0 tous les tickets qui ont \u00e9t\u00e9 g\u00e9n\u00e9r\u00e9s avant la mise en \u0153uvre des m\u00e9ta personnalis\u00e9s. Pour vous faciliter la t\u00e2che, nous avons cr\u00e9\u00e9 un plugin simple qui vous permettra d'ex\u00e9cuter les mises \u00e0 jour par petits lots. Si vous souhaitez proc\u00e9der \u00e0 l'ajout du champ personnalis\u00e9 de l'horodatage aux tickets pr\u00e9c\u00e9dents, veuillez suivre les \u00e9tapes suivantes :<\/p>\n<ol>\n<li><span style=\"color: #ff0000;\"><strong>NB : Nous vous recommandons vivement de cr\u00e9er une copie de sauvegarde des fichiers et de la base de donn\u00e9es de votre site web actuel avant d'aller plus loin et d'utiliser, si possible, un site de d\u00e9monstration.<\/strong><\/span><\/li>\n<li>T\u00e9l\u00e9charger le <a href=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/fooevents-bookings-timezone-updater.zip\">FooEvents Bookings Timestamp Updater (mise \u00e0 jour de l'horodatage des r\u00e9servations)<\/a><a href=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/fooevents-bookings-timezone-updater.zip\">\u00a0plugin<\/a><\/li>\n<li>Connectez-vous \u00e0 votre <strong>WordPress Tableau de bord de l'administrateur<\/strong><\/li>\n<li>Aller \u00e0 <strong>Plugins<\/strong> &gt; <strong>Ajouter un nouveau<\/strong> dans le menu principal<\/li>\n<li><strong>T\u00e9l\u00e9charger<\/strong> le fichier zip du plugin<\/li>\n<li>Cliquez sur <strong>Plugins<\/strong> dans le menu principal<\/li>\n<li>Trouvez le plugin et cliquez sur <strong>Activer<\/strong><\/li>\n<li>Aller \u00e0 <strong>FooEvents Bookings Timestamp Updater (mise \u00e0 jour de l'horodatage des r\u00e9servations)<\/strong>\u00a0dans le menu principal<\/li>\n<li><img fetchpriority=\"high\" decoding=\"async\" class=\"alignnone wp-image-133436 size-full\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/Screenshot-2022-08-30-at-10.54.40.png\" alt=\"\" width=\"1107\" height=\"264\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/Screenshot-2022-08-30-at-10.54.40.png 1107w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/Screenshot-2022-08-30-at-10.54.40-300x72.png 300w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/Screenshot-2022-08-30-at-10.54.40-1024x244.png 1024w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/Screenshot-2022-08-30-at-10.54.40-768x183.png 768w\" sizes=\"(max-width: 1107px) 100vw, 1107px\" \/>Cet \u00e9cran vous permet d'ajouter l'horodatage du champ personnalis\u00e9 qui peut \u00eatre utilis\u00e9 pour filtrer les billets par date de r\u00e9servation. Par d\u00e9faut, le champ <strong>FooEvents Bookings Timestamp Updater (mise \u00e0 jour de l'horodatage des r\u00e9servations)<\/strong> mettra \u00e0 jour 100 ordres \u00e0 la fois. Il s'agit d'une limite s\u00fbre, qui ne devrait prendre qu'une seconde. En fonction de la taille de votre base de donn\u00e9es et de la capacit\u00e9 de votre serveur, vous pouvez ajuster cette quantit\u00e9 si n\u00e9cessaire.<\/li>\n<li>Une fois que vous avez d\u00e9fini le montant souhait\u00e9, cliquez sur le bouton <strong>Ex\u00e9cuter l'Updater<\/strong> bouton. Le bouton <strong>FooEvents Bookings Timestamp Updater plugin<\/strong> mettra alors \u00e0 jour le nombre de billets sp\u00e9cifi\u00e9.<\/li>\n<li><img decoding=\"async\" class=\"alignnone wp-image-133437 size-full\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/Screenshot-2022-08-30-at-10.55.18.png\" alt=\"\" width=\"1106\" height=\"505\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/Screenshot-2022-08-30-at-10.55.18.png 1106w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/Screenshot-2022-08-30-at-10.55.18-300x137.png 300w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/Screenshot-2022-08-30-at-10.55.18-1024x468.png 1024w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/Screenshot-2022-08-30-at-10.55.18-768x351.png 768w\" sizes=\"(max-width: 1106px) 100vw, 1106px\" \/>Une fois chaque lot termin\u00e9, continuez \u00e0 ex\u00e9cuter l'outil de mise \u00e0 jour en cliquant sur le bouton <strong>Ex\u00e9cuter l'Updater<\/strong> jusqu'\u00e0 ce qu'il n'y ait plus de tickets n\u00e9cessitant une mise \u00e0 jour.<\/li>\n<li><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-133438 size-full\" src=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/Screenshot-2022-08-30-at-10.56.16.png\" alt=\"\" width=\"1105\" height=\"536\" title=\"\" srcset=\"https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/Screenshot-2022-08-30-at-10.56.16.png 1105w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/Screenshot-2022-08-30-at-10.56.16-300x146.png 300w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/Screenshot-2022-08-30-at-10.56.16-1024x497.png 1024w, https:\/\/help.fooevents.com\/wp-content\/uploads\/2022\/08\/Screenshot-2022-08-30-at-10.56.16-768x373.png 768w\" sizes=\"(max-width: 1105px) 100vw, 1105px\" \/>Lorsqu'il ne reste plus aucun ticket, veuillez retirer le <strong>FooEvents Bookings Timestamp Updater plugin<\/strong> en se rendant sur <strong>Plugins<\/strong> dans le menu principal, puis en d\u00e9sactivant et en supprimant la fonction <strong>FooEvents Bookings Timestamp Updater plugin<\/strong>.<\/li>\n<\/ol>\n<p>Tous les tickets qui n'incluaient pas le champ personnalis\u00e9 de l'horodatage devraient maintenant inclure ce champ et le refl\u00e9ter lors du filtrage des r\u00e9servations par date.<\/p>","protected":false},"featured_media":0,"parent":2933,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"default","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"default","adv-header-id-meta":"","stick-header-meta":"default","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"doc_tag":[375,122,474,475,476],"class_list":["post-133429","docs","type-docs","status-publish","hentry","doc_tag-fooevents-bookings","doc_tag-plugin","doc_tag-timestamp","doc_tag-updater","doc_tag-woocommerceeventsbookingdatetimestamp"],"comment_count":0,"_links":{"self":[{"href":"https:\/\/help.fooevents.com\/fr\/wp-json\/wp\/v2\/docs\/133429","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/help.fooevents.com\/fr\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/help.fooevents.com\/fr\/wp-json\/wp\/v2\/types\/docs"}],"replies":[{"embeddable":true,"href":"https:\/\/help.fooevents.com\/fr\/wp-json\/wp\/v2\/comments?post=133429"}],"version-history":[{"count":0,"href":"https:\/\/help.fooevents.com\/fr\/wp-json\/wp\/v2\/docs\/133429\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/help.fooevents.com\/fr\/wp-json\/wp\/v2\/docs\/2933"}],"wp:attachment":[{"href":"https:\/\/help.fooevents.com\/fr\/wp-json\/wp\/v2\/media?parent=133429"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/help.fooevents.com\/fr\/wp-json\/wp\/v2\/doc_tag?post=133429"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}