• HOME
  • NEWS
  • PORTFOLIO
  • LAB
  • ABOUT
  • CONTACT

ACF how to update field link

tags : acfwordpress categories : programmation

by Trân on January 20, 2020

To update field link, we have to use an array :

1
2
3
4
5
6
7
8
9
10
<?php
 
$site = array(
     'title' => $my_title,
     'url' => $my_url,
     'target' => "_blank",
);
update_field('site', $site,  'user_' . $user_id);
 
?>

 

L’Association » « woocommerce, overwrite auto scroll (scroll to notice function)

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

 

Categories

  • général
  • inspiration
  • lab
  • programmation
  • sites
  • work

Tags

android architecture archives canvas cellules-studio cornelius css culturel demonstrateur design eshop flash fremok html html/css/js hugo IFTTT incandescence Instagram institutionnel ios ipad jeux js krpano luxe media design mobile musée nomoon paper fold photographie requins-marteaux responsive sbam snippet tablette toute-attente tran nn transport typographie ui ultranoir woocommerce wordpress

Stats

Archives

Meta

  • Log in
  • Entries RSS
  • Comments RSS
  • WordPress.org
 

© fruit du dragon - freelance creative coder