Apparently, in order to make it work there’s a second file (product-thumbnails.php) using the same function, so if the default function is changed in one file, the second one must be updated too.
Related Posts:
- Redirect to another page using contact form 7? [closed]
- Between functions.php (theme), widgets, and plugins, which is loaded first?
- Adding a text domain to every __(), _e() and __n() gettext call without a plan to create own translations
- Create WooCommerce Product Category Programmatically
- Can we completely remove the WordPress Sitemaps (WordPress 5.5)?
- WooCommerce create new product and add to cart on form submit
- Seeking clarification on page request life-cycle
- Code in theme functions.php faster than with a plugin?
- Over write plugin templates
- Showing Co-Authors on post page
- Override the filter from plugin in child theme
- How to get subscription key or id using Woocommerce Subscriptions [closed]
- Custom Taxonomy Tag Search
- Dropdown menu on custom page with product to choose number of products per page
- Change wordpress current_time function to different timezone
- How to Display a Plugin function (content) on frontpage using index.php
- Display post lists in 2nd paragraph
- How to enable specific plugin only based around shop manager role?
- Replacing a plugin function with a custom renamed function doesn’t work
- Shortcode Attributes to Return different $_POST
- wc_get_template new template does not showing up
- WordPress Stock Update Programatically
- Remove Pagination for Product Category Pages WooCommerce
- Getting a ressource ID, from a WC_Order_Item_Product/Order
- Set up functions to be overridden without using function_exists() by short-circuiting them?
- Removing the custom_image_header from wp_head
- How to get custom minimum price in Woocommerce
- How to make WooCommerce payment method field optional?
- woocommerce remove coupon link does not work
- How would I get the new plugin version on this function?
- Create category for each user
- Unpublished Pages Failing To Appear On Custom Path
- add a hook of Woocommerce to a plugin but it only shows and doesn’t function properly
- woocommerce: Customize email with item total count
- How can I find related learndash course id from woocommerce product object?
- Submitting form to PHP
- ACF Fields are not showing up on Homepage
- Adding discount functionality to the cart
- How to assign a specific service to a specific provider based on location
- Conditional Homepage for logged in user
- Make modification of add_to_cart button specific to single page
- Easiest way to load/fire a handful of functions, IF checkbox is checked?
- Securing langugae folder
- Configuring default woo commerce login with modal popup
- How to wrap image tag into div for post only?
- How can I add a custom checkbox / radio button on the admin theme options to display a CSS or other?
- Can anyone tell me why I can’t edit a plugin when it is installed without having to re-install?
- Move related products after product summary? [closed]
- is_plugin_active() not defined on active plugin, in the thumbnails.php file
- WooCommerce custom query and paging: Not Found error
- Woocommerce – Product Description heading [closed]
- Woocommerce disable checkout on specific day
- Adding a script & php to functions.php
- Override the plugin class and function
- Product customizing quiz – quiz adding products to the cart
- Show WooCommerce products based on query parameters on redirect
- add to cart linking to add to cart page
- Best collection of code for your 'functions.php' file [closed]
- How to include a plugin’s php file to another plugin functions file [duplicate]
- How do I cleanly override a plugin’s CSS with a child theme?
- How to assign user a role if none is present when logging in
- Add Products to user’s ID Woocommerce
- resize only height using wp_get_image_editor
- How to find out what blocks are added by a plugin
- Invalid shipping method, WooCommerce [closed]
- Editing Theme to apply Co-Authors Plus
- How to integrate plugin in WordPress theme
- How do you remove plugin edit option?
- Need Old Version of plugins
- Different UI in WordPress
- How to append to title via functions.php for auto-posting plugin [duplicate]
- Woocommerce Deposit, then random payments until product paid in full [closed]
- custom payment gateway in woocommerce failed to connect to remote api server
- How to call WordPress function other files
- How can I insert thousands of Woocommerce products by batch with PHP? [closed]
- How to get specific string/value from an array? php [closed]
- woocommerce search by sku and title ajax
- Changing plugin options from theme functions file?
- Extending a theme: build new features as plugin or core modules?
- Replace the_content with ACF Flexible Content via function
- Translations not appended even strings are edited
- How to get brand children with woocommerce brands
- Is there any way to sync Facebook Comments and with comments on WordPress website?
- Woocommerce convert simple products to variations
- Disable WC Bookings automatic order completion [closed]
- How much PHP and MySQL or MariaDB knowledge should I know to start writing WordPress themes and plug-ins and whatever else a beginner can edit?
- Is it possible to customize a wordpress post from outside dashboard(Something like site.com/post-type/post/?e=post_id)?
- Woocommerce budget search
- Allow vendors on a WordPress site to pick from a gallery of pre-selected images when choosing product’s featured image
- Change pricing in Woocommerce based on Category and Product [closed]
- Get a Taxonomy values in an array
- Place content inside the Post Loop
- Woocommerce: deleted single-product.php, everything still works. How is it possible?
- Is there any wordpress function to update a random post every 10 minutes?
- Showing author box on post detail page
- Simple WordPress function / plugin to redirect a site
- Remove base from the custom post type URL [duplicate]
- Predefine Product Variations for specific custom product type [closed]
- Console errors after WordPress Update 6.1
- How to use `$order->get_discount_total()`, avoiding defoult WC decimal rounding?