Best Practices and Strategies

How do I check if any plugin is active in WordPress?

Pankaj Singh
1 min read
In WordPress, you can check if a plugin is active using the is_plugin_active() function. This...

programmatically install plugins from a WordPress theme?

Pankaj Singh
2 min read
Yes, it is possible to programmatically install plugins from a WordPress theme. This can be done...

How to add addtional custom option in magento2 order ?

Pankaj Singh
2 min read
To add additional custom options to a Magento 2 order, you can follow these steps: Create a custom...

How to add additional custom option in magento2 cart ?

Pankaj Singh
2 min read
In this post, we will learn how to add additional custom options to the Magento 2 cart, you can...

How to change invoice logo in magento2 ?

Pankaj Singh
2 min read
To change the invoice logo in Magento 2, you can follow these steps: Create a new logo: The logo...

How to clear magento cart programatically ?

Pankaj Singh
2 min read
To clear the Magento cart programmatically, you can use these 3 methods. First Method $cart =...

How to use actions in woocommerce

Pankaj Singh
1 min read
In WooCommerce, actions are events that occur during specific stages of an order, such as when an...

How to create a custom post type in WordPress

Pankaj Singh
2 min read
In this post, we will discuss how to create a custom post type in WordPress. Custom post types are a...