I don’t think you’ll be able to link them directly.
However, you can simply hook into when ACF is saving these fields and also have them overwrite the correct option in the options table or whatever you need to overwrite.
Here’s the documentation for hooking into ACF saving values (the acf/save_post
hook): https://www.advancedcustomfields.com/resources/acf-save_post/
You’ll probably want to make sure you’re saving the correct page (your options page).
You can do that with get_current_screen()
: https://codex.wordpress.org/Function_Reference/get_current_screen
Then, it would simply be a matter of overriding post_meta ( update_post_meta()
) or options ( update_option()
).
Related Posts:
- get woocommerce My account page link
- Where do the cart details are stored in database?
- Fetch Product information in WooCommerce
- New endpoint in my account gives 404 Error Woocommerce 3.6.5 and WP 5.2.2
- Add Custom CSS to Woocommerce Product Page in a specified category
- In WooCommerce filter the available Payment Methods by User Role [closed]
- Add Additional “Checkout” button next to “Add to cart” button in woocommerce product page
- wc_get_product in a none woocommerce page
- WP WPQuery, not running properly in WP CLI
- How to get all products from an order including variations via SQL query?
- How to echo billing phone number under My Account in Woocommerce? [closed]
- Unknow php file in wordpress core [closed]
- woocommerce_get_price filter hook not working for product variation price
- WooCommerce shipping – Different product different shipping? [closed]
- Remove action added through function
- Filter get_adjacent_post to follow woocommerce product category
- Stop WooCommerce from updating user/user meta after checkout
- Displaying Custom Input Value to Customer Order Details (My Account) page in Woocommerce
- WooCommerce: The model of e-mail is displaying only the html, not css [closed]
- How to show loading spinner after click on add to cart button [closed]
- Authenticate user into wordpress via 3rd party system, both with the same domain
- WordPress select field – show current value?
- Arranging Product Details on Shop Page
- How to get woocommerce subscription next payment date or date when subscription expires in woocommerce_subscription_renewal_payment_complete hook?
- Display Message if woocommerce coupon is not applicable to some items in the cart
- (Woocommerce) How to add a custom page between cart and checkout with a file upload field per product item in the cart?
- Force uppercase on some WooCommerce checkout fields input
- Display custom field without plugin in woocommerce
- How to output php between header and woocommerce container
- WooCommerce – How can I make single product gallery show two images on the slider at once?
- How to delete all customer user account that haven’t placed a single order?
- How do I hide ‘out of stock’ products in the admin ‘product’ page?
- Hide the prefix before the price of the product [closed]
- Backend users list – add Woocommerce meta to table
- Delete cookie when changing url (when navigating away from specific page of website)
- woocommerce axios react
- Woocommerce hook on address field change [closed]
- Maintenance mode just for WooCommerce shop pages [closed]
- Custom email template for a specific product category
- update_post_meta not work [closed]
- Same request Mysql/Php not same result
- WooCommerce Registration redirect based on page ID
- Get woocommerce coupon code
- Woocommerce change price in cart when discounted
- Woocommerce Remove Tax by Product Type
- WooCommerce print subcategory of product
- Woocommerce – sell a certain category by unit, another by weight? How?
- Woocommerce Product permalinks “product” word is not working
- Add custom parameters to Woocommerce add to cart link
- How to automatically change the status of product from draft to published when stock qty change from 0 > 1
- Woocommerce checkout page issue – Payment methods not loading – strange “Credit/Debit Card Secure Payment” form
- Sort products by Sale price and stock status
- Pagination in woocommerce – Limiting page-numbers
- Delete method giving 500 error, for this endpoint /wc/store/cart/items
- In woocommerce product details not showing
- Re-arrange the Woocommerce checkout page layout
- How to sort products by price ASC and place all no price products to the end? (Woocommerce)
- Change order of combined product tabs
- Parameters in woocommerce_before_add_to_cart_button hook
- WordPress Woocommerce Endpoint URL
- Will ‘private’ status prevent Woocommerce products to be indexed by search engines?
- How to use products shortcode in taxonomy-product_cat with multiple columns?
- Position WooCommerce basket and pricing
- Add to cart is not visible in product page
- Notice: Trying to get property of non-object in
- French accented text replaced with ? in woocommerce product list
- Trying to figure out why an error is returned when trying to add an item to the basket on this website
- Conditionnaly replace “Read more” text WooCommerce products
- WooCommerce/Authorize.net interface problem
- Redirect After Registration on Specific Link
- Incorrect translation of ‘shipping’ at woocommerce checkout page after WC update 3.4*
- Sell a WooCommerce Product on Content Pages
- How can you get woocomemrce to give you multiple licensing options for a downloadable product?
- WordPress media library don’t load most of the photos in library
- Show “email already used message” first
- How to add capabilities for editor type user to access admin section
- delete cart item from the carts when user login from other system
- Site doesn’t work when updating to SSL using nginx
- woocommerce displaying products of a specific page
- How to hide metaboxes in WordPress Admin on WooCommerce “Add Product” page – Remove side sortables for a specific user role
- woocommerce breadcrumb only in cart and checkout pages
- WooCommerce REST API endpoints don’t exist
- woocomrce pay here button help
- Woocommerce in a subdirectory [closed]
- registration_errors not working
- How to dublicate WC Product title to shortdescription field? [closed]
- Add Additional 3 buttons next to “Add to cart” button in woocommerce product page
- How do I remove the recurring total from thank you for your order email?
- Translate Woocommerce tab
- Woocommerce -> gallery images per variation without a plugin? [closed]
- Why is my WordPress admin not working
- Create bookings after subscription renewal
- Change variants URL
- Use a woocommerce hook to create a table and populate it with a query
- Woocommerce product and category in url [closed]
- Display product categories + child-categories on a single product page
- I want to Display custom woocomerce meta box in orders list
- Detect Product Type with code
- Verify if woocommerce supports this design [closed]
- Hook for Woocommerce checkout fields