WordPress
How to add custom role in wordpress?
add_role( 'test', 'Test Role', array( 'read' => true, // True allows that...
Read MoreHow to enable featured image for category and tags?
Things we will proceed with:1. edit Functions.php2. Create featured-image-for-categories.php file in theme...
Read MoreGet Category ID inside Category template
$category = get_queried_object(); echo $category->term_id;
Read MoreWoocommerce
Remove variable product from cart with ajax in woocommerce
Create the link on cart using the $cart_item_key instead of the $product_id. Then, on server...
Read MoreWooCommerce: Get Order Info (total, items, etc) From $order Object
// Get $order object from order ID $order = wc_get_order( $order_id );...
Read MoreWoocommerce - Getting the order item price and quantity
## For WooCommerce 3+ ## // Getting an instance of the WC_Order...
Read MoreAndroid App Development
How to add cordova in app browser plugin code inndex.html?
<script type="text/javascript" charset="utf-8"> document.addEventListener("deviceready", onDeviceReady, false); function onDeviceReady() { var ref =...
Read MoreCordova 2020 Quick Checklist
Here is a complete checklist for cordova based application to start. It...
Read MorePHP
How to Set Cookie and OTP in php?
You can set otp as cookie and then retrieve to match during...
Read MoreGet total from loop in php or Sum values in foreach loop php
In your case IF you want to go with foreach loop than...
Read MoreHow to update data in wordpress database table with functions.php?
How to update data in wordpress database table with functions.php?
Read More