I
I
Ivan Kalinichenko2015-01-03 13:46:53
WordPress
Ivan Kalinichenko, 2015-01-03 13:46:53

What code style to use for plugin and theme development for wordpress?

Themes and plugins are mostly for internal use. It is not necessary to support php versions lower than 5.4. I would also like to be able to upload plugins to wordpress.org and codecanyon.net.
I know there is https://make.wordpress.org/core/handbook/best-prac... But it's archaic and doesn't match psr.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
W
WP Panda, 2015-01-03
@joker_bsg

To be able to publish plugins in the official Wordpress repository, you need to use what is recommended by the link you provided, this is not critical for codecanyon

S
sivabur, 2015-01-03
@sivabur

Still use OOP. And see the primers of popular plugins.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question