331 reputation
318
bio website
location
age
visits member for 3 years, 11 months
seen yesterday

Jul
21
awarded  Popular Question
Jul
2
awarded  Curious
Dec
26
awarded  Popular Question
Dec
23
accepted How can I prove if wp cron is running my task if I have DISABLE_WP_CRON set to true
Nov
16
revised Multisite and domain name without www
added 46 characters in body
Nov
16
asked Multisite and domain name without www
Nov
7
asked How can I prove if wp cron is running my task if I have DISABLE_WP_CRON set to true
Oct
24
accepted If a function requires add_action('init') how can I run it only once on plugin activation?
Oct
24
comment If a function requires add_action('init') how can I run it only once on plugin activation?
I think you're right! I have no idea why this wasn't working for me before but thank you. Its self because there is no $this inside a static function.
Oct
24
comment If a function requires add_action('init') how can I run it only once on plugin activation?
@josh. thanks. Thats what I have tried but those functions don't run. I have updated my question with a link the style of activation I am using
Oct
24
revised If a function requires add_action('init') how can I run it only once on plugin activation?
trying to elaborate by including reference to the activation method I am using
Oct
24
comment If a function requires add_action('init') how can I run it only once on plugin activation?
I am using the wordpress plugin boilerplate so my single_activate is a static function. I still can't get this to run on activation :-/
Oct
24
comment If a function requires add_action('init') how can I run it only once on plugin activation?
@ChipBennett you are assuming I know how to do that!
Oct
23
comment If a function requires add_action('init') how can I run it only once on plugin activation?
I am aware of this but when I added the wp_insert_term() function inside an activation hook, it did not run.
Oct
23
asked If a function requires add_action('init') how can I run it only once on plugin activation?
Oct
23
comment How to add terms to taxonomy with wp_insert_terms?
@marfarma I'm using some similar code. The codex states that wp_insert_term() should run on add_action('init'). How would I run it only once on plugin activation?
Oct
23
comment Is the only way to add taxonomy terms via an admin panel?
let us continue this discussion in chat
Oct
22
comment Is the only way to add taxonomy terms via an admin panel?
Thanks. Can you link to a reputable resource which describes how to hook a function on plugin activation?
Oct
22
revised Is the only way to add taxonomy terms via an admin panel?
added 219 characters in body
Oct
22
comment Is the only way to add taxonomy terms via an admin panel?
maybe because the custom post type doesn't exist on activation?