| bio | website | |
|---|---|---|
| location | ||
| age | ||
| visits | member for | 4 months |
| seen | Mar 1 at 17:18 | |
| stats | profile views | 7 |
|
Feb 16 |
awarded | Editor |
|
Feb 16 |
revised |
register_activation_hook in oop approach added 3 characters in body |
|
Feb 11 |
comment |
register_activation_hook in oop approach Ahh, WOW I didn't know that constant variable in PHP works that way. I am really thankful for your time helping me. Have you tried implementing a plugin using that approach? Well, in my case still that solution didn't work out. Maybe register_activation_hook really wont work if its not on the main plugin file. I will just consider putting this on my main plugin file and have a procedural approach for now. Thanks so much again. |
|
Feb 11 |
comment |
register_activation_hook in oop approach Still not working. I included the class with the static method. But I cant use that constant variable because its in different file, it is on the root directory. Is that mean that I need to include my main plugin file inside my class file? |
|
Feb 11 |
asked | register_activation_hook in oop approach |