I searched a lot and find a way to do it.
add following to theme functions.php file:
add_filter( 'edd_pre_add_to_cart_contents', '__return_false' );
Source: https://gist.github.com/amdrew/2192eb02839fcdf9e3d2
Thanks!
Related Posts:
- Should all plugins be encapsulated in a Class?
- Consuming an external API in WordPress?
- How can I import a class privately into a plugin?
- How do I extend one plugin I’m writing with another I’m writing using classes?
- Generate custom output for page/URL in a plugin
- Post source link plugin – small modification
- Add CSS animation as Preloader to WordPress
- How to list the Hooks and order of execution in current loading page? [duplicate]
- Setting up widgets in wordpress with a unique ID for the after_title argument
- Modifying Footnote Plugin for Descriptive Title Attributes
- How to Replace Words with Hypertext Link But Ignore Previously Existed Links?
- Auto delete WordPress users according to time
- Edit Yoast SEO breadcrumbs output [closed]
- How would I go about creating a user ranked post popularity page?
- How to fetch products with the price in a page on woocommerce using a form or live search with php
- Redirect to another page using contact form 7? [closed]
- Inserting custom PHP script on homepage
- Loop in elementor custom widget not working
- I am trying to make a field show and save from quickedit screen
- .php file for woocommerce edit category? [closed]
- Customize Menu | Styling LESS/SCSS code formats
- Why is it important to check for isset and is_array before checking in_array in this example?
- Comment “like” problem – “users who like this” avatar linking to current user profile instead of “liker’s” profile
- Calling a save function from a “submit” button
- same user role or copy the user role to be same as the other role
- How to fix these PHP Warnings with the “Feed JSON” plug-in?
- woocommerce remove coupon link does not work
- implement custom roles in custom plugin
- Post source link plugin – small modification
- Custom Plugin: How to Include Install Buttons of other 3rd Party Plugins?
- Adding discount functionality to the cart
- How to assign a specific service to a specific provider based on location
- Precheck fields when I add a new post
- Rename a folder via HTML POST request
- Move plugin pages from dashboard to front-end
- working code, not working – Plugin Dev
- Cron job shedules replace?
- Custom shortcode being shown in WPBakery backend rather than the block
- Move plugin upload folder from mywebsite.com/wp-content/uploads/pdfuploads to mywebsite.com/pdfs?
- Woocommerce list variations that are added already to cart in Single Product
- Flexslider empty slide
- Custom SportsPress list
- How to fix vanilla comments extra iframe space
- I want to remove the register/login WordPress top bar from my website
- How to delete remain data in WP database after deleting custom post via admin interface
- What can I do to customize a widget provided with this plugin? from where have I to start?
- WordPress: code structure
- How to make a Template page to show the information of different things Shop and Product page?
- Show Similar Post Titles ( Similar to Stack Exchange )
- WP showing “warning: call_user_func_array()”, What to do?
- How can I pass a variable to wp_ajax action?
- Open external links in a new window
- How can i change an image’s author?
- WP-Members redirect if member ALREADY logged in
- Get a list of galleries from an album in NextGEN Gallery [closed]
- How to get subscription key or id using Woocommerce Subscriptions [closed]
- How to get member list based on role by using buddypress?
- get shortcode value
- Storing Options in a Shortcode
- Add Product Subtitle to Woocommerce Product Page
- Plugins Page invisible / white
- code is working properly in Core PHP but writing coding in WordPress
- How can I fix the mixed content problems of the kk star ratings plugin?
- Basic Object Oriented plugin question
- WordPress + PHP + IIS + PHP Fatal error: require():
- How do I make a child theme I made POST through a 3rd party plugin?
- Adding regex filter to feedwordpress
- Change get_current_user_id code to the author’s profile
- Duplicate results are displayed in a custom plugin [closed]
- php code crashes site – possible syntax error
- Help with WP Business Directory Manager Plugin?
- I receive taxonomy id
- Is there a way to convert shortcodes to html content?
- Change text string in a plugin
- get_users(); Is an Undefined Function When Used in Cron Job
- the_content() printing DOCTYPE, and tags in the middle of page
- How to change WooCommece variation data programmtically [closed]
- How to include files relative to a file’s directory
- dynamically create callback functions inside a for loop
- How to display an alert when deleting a plugin?
- Mobilepress fails to translate short codes
- uncaught TypeError: Cannot read properties of null (reading ‘classList’) custom plugin
- Getting infinite scrolling working on my custom template
- How do I display PHP file contents on front end of WordPress?
- How can I translate something in my class constructor of my plugin in WordPress?
- Define global variable in theme file and call that variable in plugin file
- SimpleXML is not working with xml response from external api
- Custom wp_list_tables redirect on specfic page
- No result after wpdb->insert
- Automatically check “Enable stock management at product level” to the existing products?
- Cannot pass variable to page definition
- How do I change tab url
- How to display all custom fields associated with a post type – IN THE ADMIN AREA?
- Things that saved lose when logout
- Plugin program: JQuery not working in this plugin
- PHP and Jquery pass value from form. Update function on DataBase
- Plugin use of ajax/jquery depending dropdown
- Why haven’t I see plugins using get_file_data to handle retrieving plugin version?
- Warning: Undefined variable $admin
- public custom posts not showing in my wordpress plugin