Views: 26WordPress core filters When WordPress validation for the file type fails and the above third-party plugins can’t help, you can also try using the upload_mimes WordPress filter to implement your own solution. You can find below a few examples: Where Do I Put This Code? Here is one that is widely used: Code Snippets Third Party Plug-In
Category: Wordpress
Gravity Forms – How to show a Pre-submission confirmation page with all the filled form information to users ?
Views: 109 How to use (gform_review_page) filter. You can apply the review page filter for all your Gravity forms or for a specific form. Paste the below code in the child theme’s function.php file. OR use Code Snippets by Code Snippets Pro Apply filter on all the active forms. Apply filter on a particular form. Source : https://wpmonks.com/blog/how-to-show-a-pre-submission-confirmation-page-with-all-the-filled-form-information-to-users/
Contact Form 7 – Stop Duplicate Submissions
Views: 313 The above code to be added in My Custom Functions – Space X-Chimp
Add and display a custom field on WooCommerce
Views: 108Our goal We are going to add a restock notice field in the Inventory section of the product’s data, as displayed below. In this field we can add a piece of text informing our customers when the product will be back in stock. The line will be displayed below the out of stock notice, as seen in the […]