ritu rajora
ritu rajora

Reputation: 1

How to generate custom wordpress plugin in woocommerce

I am beginner for wordpress and woocommerce, my requirement is to create a custom plug-in just same as product plug-in and from preset. So, I want to know how I can achieve this functionality?

Please find screenshot for same from here: enter image description here

Upvotes: 0

Views: 74

Answers (1)

GDY
GDY

Reputation: 2941

You could create a regular WordPress plugin. WordPress has a very good Handbook for creating plugins.

Generally you create plugins by hooking in the system. You can insert functionalities (actions) or change content (filters) with these hooks. WordPress itself and most common plugins like WooCommerce have such hooks to customize whatever you want via Plugins.

Be sure to check out the Woocommerce Documention on that topic and also their Hook Reference. Maybe it isn't even necessary to create a plugin … customizations via hooks can also be achieved from within your themes functions.php.

Upvotes: 1

Related Questions