| bio | website | kalpaitch.com |
|---|---|---|
| location | London, United Kingdom | |
| age | 28 | |
| visits | member for | 8 months |
| seen | 19 hours ago | |
| stats | profile views | 3 |
Looking for answers
|
Nov 14 |
comment |
Add categories and posts to page hierarchy agreed, sounds like fun. |
|
Nov 14 |
asked | Add categories and posts to page hierarchy |
|
Nov 2 |
comment |
Best way to initiate a class in a WP plugin? @Geert, agreed, I found that these activation hooks still had to go in __contruct |
|
Nov 2 |
accepted | Best way to initiate a class in a WP plugin? |
|
Oct 24 |
comment |
Best way to initiate a class in a WP plugin? I kinda agree with this, but I thought it worth putting in as I found it in a couple of WP plugins. |
|
Oct 24 |
comment |
Best way to initiate a class in a WP plugin? @Tom Auger, I completely see your point about loading using the hook plugins_loaded. Would it be better to use the first method in the question for initiating a class, or if you propose an alternative method, could you please include in an answer? |
|
Oct 23 |
awarded | Nice Question |
|
Oct 23 |
revised |
Best way to initiate a class in a WP plugin? added 262 characters in body |
|
Oct 23 |
revised |
Best way to initiate a class in a WP plugin? added 364 characters in body |
|
Oct 22 |
comment |
Best way to initiate a class in a WP plugin? Very helpful, and the add_shortcode() seems to be a much simpler way to include the output of a particular part of that class, rather than fetching an instance per say. Is it possible to use a shortcode in the template files as well as in the WordPress Editor? |
|
Oct 22 |
comment |
how can I get seperate the HTML in the_content(); output? I guess this is what the featured image is meant to replace... |
|
Oct 22 |
awarded | Editor |
|
Oct 22 |
revised |
Best way to initiate a class in a WP plugin? added 274 characters in body |
|
Oct 22 |
comment |
Best way to initiate a class in a WP plugin? what would be the difference between add_action('plugins_loaded',...); and add_action('load-plugins.php',...); The example I took used the latter |
|
Oct 22 |
awarded | Scholar |
|
Oct 22 |
comment |
Best way to initiate a class in a WP plugin? Cool thanks for that, I suppose there are two points to the above question as well. The other being whether __construct is suitable or whether init() is a better way to initialize the class. |
|
Oct 22 |
awarded | Student |
|
Oct 22 |
awarded | Supporter |
|
Oct 22 |
awarded | Analytical |
|
Oct 22 |
asked | Best way to initiate a class in a WP plugin? |