Category: WordPress
-
Get current taxonomy term
Use this: More info: https://stackoverflow.com/questions/12289169/how-to-get-the-current-taxonomy-term-id-not-the-slug-in-wordpress
-
WooCommerce add custom product type
Great guide here: https://www.ibenic.com/custom-woocommerce-product-type/ Following this tutorial will get you to a point where you will have a working custom product type, but it will be missing the Inventory tab in the back-end To fix that, you will need to add the following JS to your admin_footer method you’ve already created following the tutorial: See…
-
Keyword list to prevent spam comments
You can paste the following list in Settings -> Discussion -> Disallowed Comment Keys Keywords Authors Links IP Addresses E-mail TLDs and addresses
-
Get last inserted row ID from WordPress database using
added after the insert query Source: https://stackoverflow.com/questions/1576018/how-to-get-last-inserted-row-id-from-wordpress-database
-
Configure payment gateway to support WooCommerce Subscriptions
Guide here: https://woocommerce.com/document/subscriptions/develop/payment-gateway-integration/ WooCommerce Subscriptions API overview: https://woocommerce.com/document/subscriptions/develop/ Overview here: https://woocommerce.com/document/subscriptions/payment-gateways/